Data Visualization With Ggplot2 - Study Mode
[#96] which of the following statement gives cumulative sum?
Correct Answer
(A) cumsum(x,na=rm=TRUE)
[#97] Which of the following is uniform distribution?
Correct Answer
(A) dunif(x, min=0, max=1, log = FALSE)
[#98] Which of the following truncates real x to integers?
Correct Answer
(B) as.integer(x)
[#99] Which of the following tests each element of x for membership in y?
Correct Answer
(D) x%in%y
[#100] Which of the following finds the maximum value in the vector x, exclude missing values?
Correct Answer
(B) max(x, na.rm=TRUE)