Control Structures In R Programming - Study Mode
[#36] How do you create log linear models in R language?
Correct Answer
(A) loglm()
[#37] The . . . . . . . . function returns a list of all the formal arguments of a function.
Correct Answer
(A) formals()
[#38] What will be the output of the following R code? > x <- list(a = 1:4, b = rnorm(10), c = rnorm(20, 1), d = rnorm(100, 5))
> sapply(x, mean)
Correct Answer
(A) a b c d 2.500000 -0.251483 1.481246 4.968715
[#39] Which function is used to create a histogram for visualisation in R programming language?
Correct Answer
(B) Hist
[#40] . . . . . . . . function is used to apply an expression for a given dataset.
Correct Answer
(B) With()