31. Which of the following code represents internal representation of a Date object?
32. Point out the wrong statement?
33. What will be the output of the following R code?
> x <- matrix(1:6, 2, 3)
> x[1, ]
> x <- matrix(1:6, 2, 3)
> x[1, ]
34. Which of the following extracts first four element from the following R vector?
> x <- c("a", "b", "c", "c", "d", "a")
> x <- c("a", "b", "c", "c", "d", "a")
35. The . . . . . . . . function is used to generate summary statistics from the data frame within strata defined by a variable.
36. Main way to read the data back in (parsing it) using the function.
37. If we want to save individual R objects to a file, we use the . . . . . . . . function.
38. load() is used for . . . . . . . .
39. What will be the output of the following R code?
> x <- 1:4
> y <- 6:9
> z <- x + y
> z
> x <- 1:4
> y <- 6:9
> z <- x + y
> z
40. Which of the following extracts first element from the following R list?
> x <- list(foo = 1:4, bar = 0.6)
> x <- list(foo = 1:4, bar = 0.6)
Read More Section(Data Structures in R Programming)
Each Section contains maximum 100 MCQs question on Data Structures in R Programming. To get more questions visit other sections.