Beginner
R
Q38 / 100
What does the function "head(df)" do?
Correct! Well done.
Incorrect.
The correct answer is B) Displays the first few rows (default 6) of df
B
Correct Answer
Displays the first few rows (default 6) of df
Explanation
head() returns the first n rows (default 6) of a data frame or vector, useful for quickly previewing data.
Progress
38/100