91. Point out the wrong statement?
92. One way to pass data around is by de parsing the R object with . . . . . . . .
93. .RData extension used when we save data using the functions . . . . . . . .
94. Which of the following extracts first element from the following R vector?
> x <- c("a", "b", "c", "c", "d", "a")
> x <- c("a", "b", "c", "c", "d", "a")
95. Point out the correct statement?
96. Which of the following R statement will save the output to the file for following R code?
> a <- data.frame(x = rnorm(100), y = runif(100))
> b <- c(3, 4.4, 1 / 3)
> a <- data.frame(x = rnorm(100), y = runif(100))
> b <- c(3, 4.4, 1 / 3)
97. The benefit of the . . . . . . . . function is that it is the only way to perfectly repressed an R object in an exportable format, without losing precision or any metadata.
98. What will be the output of the following R code?
> x <- as.Date("2012-01-01")
> y <- strptime("9 Jan 2011 11:34:21", "%d %b %Y %H:%M:%S")
> x-y
> x <- as.Date("2012-01-01")
> y <- strptime("9 Jan 2011 11:34:21", "%d %b %Y %H:%M:%S")
> x-y
99. Which of the following return a subset of the columns of a data frame?
100. What will be the output of the following R code?
> x <- c("a", "b", "c", "c", "d", "a")
> x[c(1, 3, 4)]
> x <- c("a", "b", "c", "c", "d", "a")
> x[c(1, 3, 4)]
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.