Examveda

Which of the following statement changes column name to h and f?

A. colnames(m) <- c("h", "f")

B. columnnames(m) <- c("h", "f")

C. rownames(m) <- c("h", "f")

D. rownames(m) <- c("f", "f")

Answer: Option A


This Question Belongs to R Programming >> R Programming Basics

Join The Discussion

Related Questions on R Programming Basics