Introduction To R Programming - Study Mode

[#71] In the expression x <- 4 in R, what is the class of 'x' as determined by the `class()' function?
Correct Answer

(B) Numeric

[#72] Functionality of R is divided into a number of . . . . . . . .
Correct Answer

(A) Functions

[#73] What will be the output of the following R code? x <- (“a”, “b”)
as.logical(x)
Correct Answer

(D) Error

[#74] What is the mode of b in the following R code? b <- c(TRUE, TRUE, 1)
Correct Answer

(A) Numeric

[#75] Which of the following command is used to print an object "x" in R?
Correct Answer

(B) print(x)