inst/snippet/scatter02.R

# Two ways to add facets to a scatter plot
gf_point(Sepal.Length ~ Sepal.Width | Species, data = iris)
gf_point(Sepal.Length ~ Sepal.Width, data = iris) %>%
  gf_facet_wrap( ~ Species)
rpruim/fastR2 documentation built on Nov. 11, 2023, 7:32 a.m.