

MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your R Programming knowledge and support exam preparation. Choose a topic below to get started.
1. |
___________ is used to determine what is plotted for each group. |
A. | panel.expose |
B. | panel.impose |
C. | panel.superpose |
D. | panel.depose |
Answer» D. panel.depose | |
2. |
Logical flag is applicable to which of the following plots? |
A. | scatterplot |
B. | dotplot |
C. | xyplot |
D. | zyplot |
Answer» C. xyplot | |
3. |
What is a geom in the ggplot2 system? |
A. | a plotting object like point, line, or other shape |
B. | a method for making conditioning plots |
C. | a method for mapping data to attributes like color and size |
D. | a statistical transformation |
Answer» B. a method for making conditioning plots | |
4. |
For barchart and _________ non-trivial methods exist for tables and arrays, documented at barchart.table. |
A. | scatterplot |
B. | dotplot |
C. | xyplot |
D. | scatterplot & xyplot |
Answer» C. xyplot | |
5. |
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 |
Answer» B. 3D visualization system | |
6. |
which of the following functions can be used to finely control the appearance of all lattice plots ? |
A. | par() |
B. | print.trellis() |
C. | splom() |
D. | trellis.par.set() |
Answer» E. | |
7. |
____________ produces one-dimensional scatterplots. |
A. | xyplot |
B. | stripplot |
C. | barchart |
D. | bwplot |
Answer» C. barchart | |
8. |
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() |
Answer» C. lines() | |
9. |
__________ produces bivariate scatterplots or time-series plots. |
A. | xyplot |
B. | dotplot |
C. | barchart |
D. | bwplot |
Answer» B. dotplot | |
10. |
__________ produces box-and-whisker plots. |
A. | xyplot |
B. | dotplot |
C. | barchart |
D. | bwplot |
Answer» E. | |