Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Plots are created and annotated with separate functions

Q. Which function opens the screen graphics device for the Mac?

  • (A) bitmap()
  • (B) quartz()
  • (C) pdf()
  • (D) png()
πŸ’¬ Discuss
βœ… Correct Answer: (B) quartz()

Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (B) proc_time

Q. Point out the correct statement?

  • (A) gather() makes "long" data wider
  • (B) tidyr is a reframing of reshape designed to accompany the tidy data framework
  • (C) there are two fundamental verbs of data tidying
  • (D) tidyr and dplyr packages do not make use of the pipe operator
πŸ’¬ Discuss
βœ… Correct Answer: (C) there are two fundamental verbs of data tidying

Q. Which of the following is a principle of analytic graphics?

  • (A) Don't plot more than two variables at at time
  • (B) Make judicious use of color in your scatterplots
  • (C) Show box plots (univariate summaries)
  • (D) Show causality, mechanism, explanation
πŸ’¬ Discuss
βœ… Correct Answer: (D) Show causality, mechanism, explanation

Q. Parallel processing is done via . . . . . . . . package can make the elapsed time smaller than the user time.

  • (A) parallel
  • (B) statistics
  • (C) distributed
  • (D) symmetry
πŸ’¬ Discuss
βœ… Correct Answer: (A) parallel

Q. What will be the output of the following R code?
> pnorm(2)

  • (A) 0.9772499
  • (B) 1.9772499
  • (C) 0.6772499
  • (D) 2.6772499
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0.9772499

Q. . . . . . . . . produces bivariate scatterplots or time-series plots.

  • (A) xyplot
  • (B) dotplot
  • (C) barchart
  • (D) bwplot
πŸ’¬ Discuss
βœ… Correct Answer: (A) xyplot

Q. Which of the following draws plot on current graphics device?

  • (A) ggmissplot
  • (B) printplot
  • (C) print.ggplot
  • (D) ggfluctuation
πŸ’¬ Discuss
βœ… Correct Answer: (C) print.ggplot

Q. Which of the following is a differentiation related aesthetic?

  • (A) aes_position
  • (B) aes_group_order
  • (C) aes_linetype_size_shape
  • (D) ggorder
πŸ’¬ Discuss
βœ… Correct Answer: (C) aes_linetype_size_shape