Which will be the output of following code ?x - 3 switch(6, 2+2, mean(1:10), rnorm(5))
What would be the output of the following code ?x - c("a", "b", "c", "c", "d", "a") x[c(1, 3, 4)]
What would be the output of the following code ?x - 1:4 y - 6:9 x/y
What would be the output of the following code ?sqrt(-17)
Which of the following statement changes column name to h and f
Elementary commands in R consist of either _______ or assignments
If commands are stored in an external file, say commands.R in the working directory work, they may be executed at any time in an R session with the command
Which of the following statement will save the output to the file for following code ?a - data.frame(x = rnorm(100), y = runif(100)) b - c(3, 4.4, 1 / 3)
What would be the output of the following code ? p - as.POSIXlt(x) names(unclass(p)) p$wday
What would be the output of the following code ?x - 1:4 y - 6:9 z - x + y z
Functions are defined using the _________ directive and are stored as R objects