Question
Which R function typically displays the first six rows of a data frame?
Select an option. Your answer will be checked instantly.
Correct Answer: D. head()
Explanation:
head() provides a quick view of the beginning of an object.
It helps verify column names and sample values without printing everything.
Leave a Reply