Q. . . . . . . . . modifies geom/stat aesthetic defaults for future plots.

  • (A) translate_qplot_base
  • (B) translate_qplot_gpl
  • (C) translate_qplot_defaults
  • (D) translate_qplot_ggplot
πŸ’¬ Discuss
βœ… Correct Answer: (C) translate_qplot_defaults

Q. Which of the following merges two variables into one?

  • (A) spread()
  • (B) gather()
  • (C) separate()
  • (D) unite()
πŸ’¬ Discuss
βœ… Correct Answer: (B) gather()

Q. Point out the correct statement?

  • (A) "by.total" first subtracts out time spent in functions above the current function in the call stack
  • (B) The summaryRprof() function calculates how much time is spend in which function
  • (C) By default, the profiler samples the function call stack every 0.02 seconds
  • (D) The Rprofiler() function starts the profiler in R
πŸ’¬ Discuss
βœ… Correct Answer: (C) By default, the profiler samples the function call stack every 0.02 seconds

Q. Point out the correct statement?

  • (A) The Rprofiler() function starts the profiler in R
  • (B) Using system.time() allows you to test certain functions or code blocks to see if they are taking excessive amounts of time
  • (C) R must not be compiled with profiler support
  • (D) Rprofiler() tabulates how much time is spent inside each function
πŸ’¬ Discuss
βœ… Correct Answer: (B) Using system.time() allows you to test certain functions or code blocks to see if they are taking excessive amounts of time

Q. Which of the following code represents count with mean of 2?

  • (A) rpois(10, 2)
  • (B) rpois(10, 20)
  • (C) rpois(20, 2)
  • (D) rpois(20, 20)
πŸ’¬ Discuss
βœ… Correct Answer: (A) rpois(10, 2)

Q. Which of the following create a set of identity mappings?

  • (A) ggplot
  • (B) aes_all
  • (C) aes
  • (D) ggorder
πŸ’¬ Discuss
βœ… Correct Answer: (D) ggorder

Q. Point out the correct statement?

  • (A) autoplotgraph is used to complete ggplot appropriate to a particular data type
  • (B) auto_element wraps up a projection of summary functions
  • (C) ggplot.data create a new ggplot plot from a data frame
  • (D) aes_sdensity display a smooth density estimate
πŸ’¬ Discuss
βœ… Correct Answer: (C) ggplot.data create a new ggplot plot from a data frame

Q. . . . . . . . . distribution is commonly used to model data that come in the form of counts.

  • (A) Gaussian
  • (B) Parametric
  • (C) Poisson
  • (D) Simulation
πŸ’¬ Discuss
βœ… Correct Answer: (C) Poisson

Q. Which of the following is complementary to tidyr?

  • (A) geolr
  • (B) dplyr
  • (C) d3lr
  • (D) gekl2
πŸ’¬ Discuss
βœ… Correct Answer: (B) dplyr

Q. Point out the correct statement?

  • (A) Rprofiler() tabulates how much time is spent inside each function
  • (B) Rprof() keeps track of the function call stack at regularly sampled intervals
  • (C) By default, the profiler samples the function call stack every 2 seconds
  • (D) R must not be compiled with profiler support
πŸ’¬ Discuss
βœ… Correct Answer: (B) Rprof() keeps track of the function call stack at regularly sampled intervals