Beginner R
Q32 / 100

What does the function "nrow(df)" return for a data frame df?

Correct! Well done.

Incorrect.

The correct answer is B) The number of rows

B

Correct Answer

The number of rows

Explanation

nrow() returns the number of rows in a data frame or matrix; ncol() returns the number of columns.

Progress
32/100