std_barplot_group | R Documentation |
A function to plot a barplot with groups.
std_barplot_group(var, group, var.label, group.label, ylab, ...)
var |
a character vector. |
group |
a character vector. |
var.label |
a character value specifying the variable label. |
group.label |
a character value specifying the group label. |
ylab |
a character value specifying the y axis label. |
... |
additional input arguments that may be used when creating your own function. |
This function defines the standard barplot with groups to be plotted
by the function nt_barplot
. It can be modified by the user.
See more details in geom_bar
.
a ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.