Vidyalelo
R Programming · Q25

Introduction to R Programming

Programming · R Programming · question 25

Q25

What does the lengths() function do in R?

A.
Returns the number of elements in each list element
Answer
B.
Computes the lengths of strings in a character vector
C.
Calculates the length of a numeric vector
D.
Counts the number of elements in a list

Answer: Option A

Solution

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