Make plots side-by-side
This commit is contained in:
@@ -699,6 +699,7 @@ Based on the plot on the left, we can see that Gentoo penguins all live on Bisco
|
||||
#| Bar plots of penguin species by island (Biscoe, Dream, and Torgersen).
|
||||
#| On the right, frequencies of species are shown. On the left, relative
|
||||
#| frequencies of species are shown.
|
||||
#| layout-ncol: 2
|
||||
|
||||
ggplot(penguins, aes(x = island, fill = species)) +
|
||||
geom_bar()
|
||||
|
||||
Reference in New Issue
Block a user