powered by
Create a density plot based on, y x and optionally group aspects.
y
x
group
fig_boxplot(g2, ..., data = NULL, inherit_asp = TRUE, name = NULL)
An object of class g2r as returned by g2r.
g2r
Any option, aesthetic (asp), or animation (Animation).
asp
Animation
A data.frame containing data to chart or a list.
data.frame
list
Whether to inherit aspects from g2r.
Name of figure, useful to apply functions to specific figures.
# NOT RUN { df <- mtcars %>% dplyr::mutate( cyl = as.factor(cyl), am = as.factor(am) ) g2(df, asp(cyl , mpg, color = am)) %>% fig_boxplot() # }
Run the code above in your browser using DataLab