What is the function to set row names for a data frame?
(a) row.names()
(b) colnames()
(c) col.names()
(d) column name cannot be set for a data frame
I had been asked this question in final exam.
My question is from Basics topic in section History, Overview and Getting Started of R Programming