R Programming Basics - Study Mode

[#66] How is the maximum value of a numeric vector calculated in R using the max() function?
Correct Answer

(A) max(vector)

[#67] In R, what does the function tolower("WORLD") return?
Correct Answer

(A) "world"

[#68] Which function can be used to determine the names assigned to a list?
Correct Answer

(A) Names

[#69] The length of a list is . . . . . . . . to the number of components in that list.
Correct Answer

(B) Equal

[#70] What will be the output of the following R code? > x <- 1:3
> names(x)
Correct Answer

(A) NULL