Quiz on Creating Panel of Plots
Test your knowledge on what you have learned so far in this chapter.
We'll cover the following...
1
What is the main difference between the facet_grid() and facet_wrap() functions in ggplot2?
A)
The facet_grid() function creates a default single plot while the facet_wrap() function creates two-dimensional grid plots.
B)
The facet_grid() function makes only 2D plots while the facet_wrap() function makes 3D plots.
C)
The facet_grid() function makes all combinations of plots, even if some plots are empty, while the facet_wrap() function only makes all possible plots and doesn’t include empty plots.
D)
The facet_grid() function makes plots in grid view while the facet_wrap() function makes plots in list view.
Question 1 of 50 attempted
...
Ask