gf_plot {ggformula} | R Documentation |
Formula interface to ggplot()
Description
Create a new ggplot and (optionally) set default dataset aesthetics mapping.
Usage
gf_plot(...)
Arguments
... |
arguments that can include |
Value
a gg object
Examples
gf_plot(mtcars, x = ~ wt, y = ~ mpg, color = ~ factor(cyl)) |>
gf_density_2d() |>
gf_point()
[Package ggformula version 0.12.0 Index]