85.
What will be the output of the following R code?
> x <- list(1, "a", TRUE, 1 + 4i)
> x

[[1]]
[1] 1
 
[[2]]
[1] "a"
 
[[3]]
[1] TRUE
 
[[4]]
[1] 1+4i

[[1]]
[1] 2
 
[[2]]
[1] "b"
 
[[3]]
[1] TRUE
 
[[4]]
[1] 1+4i

[[1]]
[1] 3
 
[[2]]
[1] "a"
 
[[3]]
[1] TRUE
 
[[4]]
[1] 1+4i

[[1]]
[1] 77
 
[[2]]
[1] "a"
 
[[3]]
[1] False
 
[[4]]
[1] 1+5i

86.
What will be the output of the following R code?
> m <- matrix(1:4, nrow = 2, ncol = 2)
> dimnames(m) <- list(c("a", "b"), c("c", "d"))
> m

88.
Point out the correct statement?

Read More Section(R Programming Basics)

Each Section contains maximum 100 MCQs question on R Programming Basics. To get more questions visit other sections.