R Programming Basics - Study Mode
[#101] The four most frequently used types of data objects in R are vectors, matrices, data frames and . . . . . . . .
Correct Answer
(B) Lists
[#102] . . . . . . . .are Data frames which contain lists of homogeneous data in a tabular format.
Correct Answer
(A) Matrix
[#103] What will be the output of the following R code? > x <- 1:3
> y <- 10:12
> rbind(x, y)
Correct Answer
(A) [,1] [,2] [,3] x 1 2 3 y 10 11 12
[#104] What will be the output of the following R code? > x <- c(1, 2, NaN, NA, 4)
> is.na(x)
Correct Answer
(A) FALSE FALSE TRUE TRUE FALSE
[#105] Accessing elements is achieved through a process called . . . . . . . .
Correct Answer
(A) Indexing