Podcast
Questions and Answers
What package is used for building layers in ggplot2?
What package is used for building layers in ggplot2?
- ggplot2 (correct)
- base
- dplyr
- tidyr
Which function is used to load the 'diamonds' dataset?
Which function is used to load the 'diamonds' dataset?
- import_data()
- data() (correct)
- load_data()
- read_dataset()
What does the 'carat' column represent in the 'diamonds' dataset?
What does the 'carat' column represent in the 'diamonds' dataset?
- Weight of the diamond (correct)
- Cut of the diamond
- Color of the diamond
- Price of the diamond
What is the purpose of the 'head()' function in the provided code?
What is the purpose of the 'head()' function in the provided code?