From 1a1151cb0b09d3f34aabed0d2954b5a349707a30 Mon Sep 17 00:00:00 2001 From: mine-cetinkaya-rundel Date: Thu, 23 Feb 2023 23:52:04 -0500 Subject: [PATCH] Make plots side-by-side --- data-visualize.qmd | 1 + 1 file changed, 1 insertion(+) diff --git a/data-visualize.qmd b/data-visualize.qmd index ed60cf9..2397f18 100644 --- a/data-visualize.qmd +++ b/data-visualize.qmd @@ -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()