gge_barplot2 | R Documentation |
This function generate a barplot
gge_barplot2( data, variable, group = NULL, title = NULL, subtitle = NULL, legend.position = "top" )
data |
a data frame |
variable |
string with the name of the categorical variable that is going to be used to create the plot |
group |
a string with the name of the varible(s) to group the plots |
title |
either |
subtitle |
either |
legend.position |
a string ( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.