. . . . . . . . generate aesthetic mappings from a string.
A. aes_all
B. aes_auto
C. aes_string
D. aes_position
Select an option to see the answer and solution.
. . . . . . . . produces one-dimensional scatterplots.
A. xyplot
B. stripplot
C. barchart
D. bwplot
Select an option to see the answer and solution.
. . . . . . . . create a complete ggplot appropriate to a particular data type.
A. autoplot
B. is.ggplot
C. printplot
D. qplot_ggplot
Select an option to see the answer and solution.
. . . . . . . . grammar makes a clear distinction between your data and what gets displayed on the screen or page.
A. ggplot1
B. ggplot2
C. d3.js
D. ggplot3
Select an option to see the answer and solution.
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?
A. points()
B. panel.abline()
C. lines()
D. axis()
Select an option to see the answer and solution.
Point out the wrong statement?
A. is.rel reports whether x is a theme object
B. is.theme reports whether x is a theme object
C. opts build a theme (or partial theme) from theme elements
D. theme_bw is theme with grey background and white gridlines
Select an option to see the answer and solution.
What will be the output of the following R code?
> set.seed(10)
> x <- rbinom(100, 1, 0.5)
> str(x)A. int [1:100] 1 0 0 1 0 0 0 0 1 0 ...
B. int [1:100] 10 0 01 1 0 0 01 0 1 0 ...
C. int [1:100] 1 03 0 1 0 0 0 02 1 0 ...
D. int [1:100] 1 2 3 1 1 0 0 0 1 0 ...
Select an option to see the answer and solution.
Which of the following is true about the base plotting system?
A. Margins and spacings are adjusted automatically depending on the type of plot and the data
B. Plots are typically created with a single function call
C. Plots are created and annotated with separate functions
D. The system is most useful for conditioning plots
Select an option to see the answer and solution.
Which function opens the screen graphics device for the Mac?
A. bitmap()
B. quartz()
C. pdf()
D. png()
Select an option to see the answer and solution.
system.time function returns an object of class . . . . . . . . which contains two useful bits of information.
A. debug_time
B. proc_time
C. procedure_time
D. date.time_time
Select an option to see the answer and solution.
. . . . . . . . is used when you have variables that form rows instead of columns.
A. tidy()
B. spread()
C. separate()
D. gather()
Select an option to see the answer and solution.
What is ggplot2 an implementation of?
A. the Grammar of Graphics developed by Leland Wilkinson
B. 3D visualization system
C. the S language originally developed by Bell Labs
D. the base plotting system in R
Select an option to see the answer and solution.
Point out the correct statement?
A. Each row is an observation in tidy data
B. Each column is a variable in tidy data
C. Arranging your data in tidy way makes it easier to work
D. All of the mentioned
Select an option to see the answer and solution.
. . . . . . . . divides the time spend in each function by the total run time
A. "by.sum"
B. "by.total"
C. "by.self"
D. "by.del"
Select an option to see the answer and solution.
R comes with a . . . . . . . . to help you optimize your code and improve its performance.
A. debugger
B. monitor
C. browser
D. profiler
Select an option to see the answer and solution.
. . . . . . . . generate random Normal variates with a given mean and standard deviation.
A. dnorm
B. rnorm
C. pnorm
D. rpois
Select an option to see the answer and solution.
Which of the following draws nothing?
A. geom_blank
B. geom
C. geom_bin2d
D. geom_contour
Select an option to see the answer and solution.
Which of the following cuts numeric vector into intervals of equal length?
A. cut_interval
B. cut_time
C. cut_number
D. cut_date
Select an option to see the answer and solution.
For barchart and . . . . . . . . non-trivial methods exist for tables and arrays, documented at barchart.table.
A. scatterplot
B. dotplot
C. xyplot
D. scatterplot & xyplot
Select an option to see the answer and solution.
Which of the following functions is typically used to add elements to a plot in the base graphics system?
A. lines()
B. hist()
C. plot()
D. boxplot()
Select an option to see the answer and solution.