Vidyalelo
R Programming · Q21

R Programming Basics

Programming · R Programming · question 21

Q21

What is the purpose of the length() function in R?

A.
Returns the sum of elements
B.
Returns the number of elements
Answer
C.
Computes the length of a vector
D.
Calculates the mean of a vector

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board