Make plots side-by-side
This commit is contained in:
parent
df90abbde5
commit
1a1151cb0b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue