Beginner R
Q4 / 100

Which function returns the number of elements in a vector?

Correct! Well done.

Incorrect.

The correct answer is C) length()

C

Correct Answer

length()

Explanation

length() returns the number of elements contained in a vector or other R object.

Progress
4/100