To view the first few rows of a data frame in R, you would use the ______ function.
- head()
- tail()
- view()
- display()
To view the first few rows of a data frame in R, you would use the head() function. The head() function displays the top rows of the data frame, providing a preview of the data and its structure.
Loading...
Related Quiz
- Recursive functions in R can be used to solve problems that have a ________ structure.
- The operator for division in R is ________.
- The ________ data type in R can store a collection of objects of the same type.
- What is the result of the logical operation 'TRUE OR FALSE' in R?
- What are the basic data types in R?