aest_treemap | R Documentation |
FUNCTION_DESCRIPTION
aest_treemap( df, y_var, group_var, limit_groups = NULL, title = NULL, subtitle = NULL, caption = NULL, lab_size = 5, caption_size = 5, legend_spot = "right" )
df |
A dataframe that must contain column file_name (for auto caption) |
y_var |
the variable being plotted |
group_var |
a grouping variable |
limit_groups |
what is the maximum number of groups to consider, Default: NULL |
title |
title if you want, Default: NULL |
subtitle |
subtitle if you want, Default: NULL |
caption |
override the default caption, Default: NULL |
lab_size |
blunt control over labeling size, Default: 5 |
caption_size |
font size for caption Default: 5 |
legend_spot |
where to put the legend Default: "right" |
DETAILS
OUTPUT_DESCRIPTION
## 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.