Vidyalelo
R Programming · all questions

Data Manipulation with dplyr
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

148

Questions

5/8

Page

Pick an option on a question to see the right answer and solution.

. . . . . . . . generate aesthetic mappings from a string.

Select an option to see the answer and solution.

. . . . . . . . produces one-dimensional scatterplots.

Select an option to see the answer and solution.

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

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.

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?

Select an option to see the answer and solution.

Point out the wrong statement?

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)

Select an option to see the answer and solution.

Which of the following is true about the base plotting system?

Select an option to see the answer and solution.

Which function opens the screen graphics device for the Mac?

Select an option to see the answer and solution.

system.time function returns an object of class . . . . . . . . which contains two useful bits of information.

Select an option to see the answer and solution.

. . . . . . . . is used when you have variables that form rows instead of columns.

Select an option to see the answer and solution.

What is ggplot2 an implementation of?

Select an option to see the answer and solution.

Point out the correct statement?

Select an option to see the answer and solution.

. . . . . . . . divides the time spend in each function by the total run time

Select an option to see the answer and solution.

R comes with a . . . . . . . . to help you optimize your code and improve its performance.

Select an option to see the answer and solution.

. . . . . . . . generate random Normal variates with a given mean and standard deviation.

Select an option to see the answer and solution.

Which of the following draws nothing?

Select an option to see the answer and solution.

Which of the following cuts numeric vector into intervals of equal length?

Select an option to see the answer and solution.

For barchart and . . . . . . . . non-trivial methods exist for tables and arrays, documented at barchart.table.

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?

Select an option to see the answer and solution.