a) rename b) filter c) set d) subset Answer: a Explanation: rename is used to rename variables ...
View QuestionPoint out the correct statement?
a) The data frame is a key data structure in statistics and in R b) R has an ...
View QuestionWhich of the following return a subset of the columns of a data frame?
a) select b) retrieve c) get d) set Answer: a Explanation: One important contribution of the dplyr ...
View Question
What will be the output of the following R code?
> x < – Sys.time()
> class(x)
What will be the output of the following R code? > x < - Sys.time() > class(x) a) ...
View Question
What will be the output of the following R code?
> x < – as.Date(“1970-01-01”)
> x
What will be the output of the following R code? > x < - as.Date("1970-01-01") > x a) ...
View QuestionWhich of the following code represents internal representation of a Date object?
a) class(as.Date(“1970-01-02”)) b) unclass(as.Date(“1970-01-02”)) c) unclassint(as.Date(“1970-01-02”)) d) classint(as.Date(“1970-02-02”)) Answer: b Explanation: You can see the internal ...
View QuestionPoint out the wrong statement?
a) Dates are represented by the Date class b) Times are represented by the POSIXct or the POSIXlt ...
View Question
What will be the output of the following R code?
> x < – 1:4
> x > 2
What will be the output of the following R code? > x < - 1:4 > x > ...
View Question
What will be the output of the following R code?
> x < – 1:4
> y < – 6:9
> z < – x + y
> z
What will be the output of the following R code? > x < - 1:4 > y < ...
View QuestionPoint out the wrong statement?
a) Very less operations in R are vectorized b) Vectorization allows you to write code that is efficient, ...
View Question