Data Manipulation With Dplyr - Study Mode

[#91] Annotation of plots in any plotting system involves adding points, lines, or text to the plot, in addition to customizing axis labels or adding titles. Different plotting systems have different sets of functions for annotating plots in this way. Which of the following functions can be used to annotate the panels in a multi-panel lattice plot?
Correct Answer

(B) panel.abline()

[#92] What will be the output of the following R code? > set.seed(10)
> x <- rbinom(100, 1, 0.5)
> str(x)
Correct Answer

(A) int [1:100] 1 0 0 1 0 0 0 0 1 0 ...

[#93] Which of the following is true about the base plotting system?
Correct Answer

(C) Plots are created and annotated with separate functions

[#94] Which function opens the screen graphics device for the Mac?
Correct Answer

(B) quartz()

[#95] system.time function returns an object of class . . . . . . . . which contains two useful bits of information.
Correct Answer

(B) proc_time