Explore topic-wise MCQs in R Programming.

This section includes 9 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 for relative sizing of theme elements.

A. rel
B. size
C. relative
D. timrinterval
Answer» B. size
2.

Which of the following draws plot on current graphics device?

A. ggmissplot
B. printplot
C. print.ggplot
D. ggfluctuation
Answer» D. ggfluctuation
3.

Which of the following creates a new ggplot plot from a data frame?

A. qplot_ggplot
B. ggplot.data.frame
C. ggfluctuation
D. ggmissplot
Answer» C. ggfluctuation
4.

__________ create a complete ggplot appropriate to a particular data type.

A. autoplot
B. is.ggplot
C. printplot
D. qplot_ggplot
Answer» B. is.ggplot
5.

________ modify a ggplot or theme object by adding on new components.

A. +.gg
B. -.gg
C. /.gg
D. .gg
Answer» B. -.gg
6.

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
Answer» B. is.theme reports whether x is a theme object
7.

Which of the following is a differentiation related aesthetic?

A. aes_position
B. aes_group_order
C. aes_linetype_size_shape
D. ggorder
Answer» D. ggorder
8.

______ generate aesthetic mappings from a string.

A. aes_all
B. aes_auto
C. aes_string
D. aes_position
Answer» D. aes_position
9.

_________ generate aesthetic mappings that describe how variables in the data.

A. aes_all
B. aes_auto
C. aes
D. aes_string
Answer» D. aes_string