

MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your R Programming knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following is used for reading tabular data? |
A. | read.csv |
B. | dget |
C. | readLines |
D. | writeline |
Answer» B. dget | |
2. |
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» B. columnnames(m) <- c("h", "f") | |
3. |
Data frames can be converted to a matrix by calling data _______ |
A. | as.matr() |
B. | as.mat() |
C. | as.matrix() |
D. | as.max() |
Answer» D. as.max() | |