Q. . . . . . . . . extract a subset of rows from a data frame based on logical conditions.

  • (A) rename
  • (B) filter
  • (C) set
  • (D) subset
πŸ’¬ Discuss
βœ… Correct Answer: (A) rename

Q. . . . . . . . . is new package that makes it easy to "tidy" your data.

  • (A) tidy
  • (B) tidyr
  • (C) tidyneat
  • (D) tidynr
πŸ’¬ Discuss
βœ… Correct Answer: (C) tidyneat

Q. Which of the following evaluate the Normal probability density (with a given mean/SD) at a point?

  • (A) dnorm
  • (B) rnorm
  • (C) pnorm
  • (D) rpois
πŸ’¬ Discuss
βœ… Correct Answer: (A) dnorm

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

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

Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (A) the Grammar of Graphics developed by Leland Wilkinson

Q. Point out the correct statement?

  • (A) Each row is an observation in tidy data
  • (B) Each column is a variable in tidy data
  • (C) Arranging your data in tidy way makes it easier to work
  • (D) All of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the mentioned

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

  • (A) "by.sum"
  • (B) "by.total"
  • (C) "by.self"
  • (D) "by.del"
πŸ’¬ Discuss
βœ… Correct Answer: (B) "by.total"

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

  • (A) debugger
  • (B) monitor
  • (C) browser
  • (D) profiler
πŸ’¬ Discuss
βœ… Correct Answer: (A) debugger

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

  • (A) dnorm
  • (B) rnorm
  • (C) pnorm
  • (D) rpois
πŸ’¬ Discuss
βœ… Correct Answer: (B) rnorm

Q. Which of the following draws nothing?

  • (A) geom_blank
  • (B) geom
  • (C) geom_bin2d
  • (D) geom_contour
πŸ’¬ Discuss
βœ… Correct Answer: (C) geom_bin2d