Examveda

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

A. Returns the sum of elements

B. Returns the number of elements

C. Computes the length of a vector

D. Calculates the mean of a vector

Answer: Option B


This Question Belongs to R Programming >> R Programming Basics

Join The Discussion

Related Questions on R Programming Basics