Google News
logo
R - Quiz(MCQ)
Data frames can have additional attributes such as __________
A)
R.names()
B)
D.names()
C)
Rowname()
D)
Rownames()

Correct Answer :   Rownames()


Explanation : Data frames can have additional attributes such as rownames(), which can be useful for annotating data, like subject_id or sample_id. But most of the time they are not used. A data frame is an important data type in R.

Advertisement