Hi,
I'm very new to R so am unfortunately a bit clueless currently. I'm trying to plot multiple graphs in the single window using the par() function, but it just doesn't work. If anyone could help I'd really appreciate it!
> library(tidyverse)
> par(mfrow=c(1,2))
> ggplot(data = mpg) +
+ mapping = aes(x = displ, y = hwy, colour = drv),
+ show.legend = FALSE
+ )
`geom_smooth()` using method = 'loess' and formula 'y ~ x'
> ggplot(data = mpg) +
+ mapping = aes(x = displ, y = hwy, colour = drv))
`geom_smooth()` using method = 'loess' and formula 'y ~ x'