Plot

Code Display

library(ggplot2)

ggplot(airquality, aes(Temp, Ozone)) +
  geom_point() +
  geom_smooth(method = "loess")

Column Layout

library(ggplot2)

airquality |>
  ggplot(aes(Temp, Ozone)) +
    geom_point() +
    geom_smooth(method = "loess")

Code Highlight

library(ggplot2)

airquality |>
  ggplot(aes(Temp, Ozone)) +
    geom_point() +
    geom_smooth(method = "loess") +
    theme_minimal()