Control Structures In R Programming - Study Mode
[#146] To get the current date, the . . . . . . . . function will return a Date object which can be converted to a different class if necessary.
Correct Answer
(B) Sys.Date
[#147] A matrix of scatterplots can be produced using . . . . . . . . function.
Correct Answer
(B) Pairs
[#148] . . . . . . . . suspends the execution of a function wherever it is called and puts the function in debug mode.
Correct Answer
(D) browser()
[#149] Two vectors M and N are defined as M <- c(3, 2, 4) and N <- c(1, 2). What will be the output of vector Z that is defined as Z <- M*N.
Correct Answer
(D) Z <- (3, 4, 4)
[#150] A programmer builds a . . . . . . . . to avoid repeating the same task or reduce complexity.
Correct Answer
(A) Function