View source: R/aest_area_plot.R
aest_area_plot | R Documentation |
makes either a stacked or filled (proportions) area plot
aest_area_plot( df, x_var, y_var, group_var, stack_or_fill = "stack", title = NULL, subtitle = NULL, caption = NULL, caption_size = 5 )
df |
a dataframe |
x_var |
The variable to plot on the x axis |
y_var |
The variable to plot on the y axis |
group_var |
The grouping variable |
stack_or_fill |
stack: original scale, fill: proportions, Default: 'stack' |
title |
optional title, Default: NULL |
subtitle |
optional subtitle, Default: NULL |
caption |
If not provided, the caption is variable name and original file name, Default: NULL |
caption_size |
font size for caption, Default: 5 |
DETAILS
OUTPUT_DESCRIPTION
label_number
## Not run: if(interactive()){ #EXAMPLE1 } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.