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/fastR documentation built on Nov. 12, 2023, 12:26 p.m.