Question
What does the expression nrow(df) return?
Select an option. Your answer will be checked instantly.
Correct Answer: A. The number of rows in df
Explanation:
nrow() reports the number of observations in a rectangular object.
Its companion ncol() reports the number of columns.
Leave a Reply