Examveda

In R, what is the purpose of the names() function?

A. Retrieve the number of elements in an object

B. Set or retrieve names of an object

C. Assign names to the elements

D. Remove names from an object

Answer: Option C


This Question Belongs to R Programming >> Data Structures In R Programming

Join The Discussion

Related Questions on Data Structures in R Programming