std_barplot_group: Standard barplot by group

View source: R/barplot.R

std_barplot_groupR Documentation

Standard barplot by group

Description

A function to plot a barplot with groups.

Usage

std_barplot_group(var, group, var.label, group.label, ylab, ...)

Arguments

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.

Details

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.

Value

a ggplot object.


dnzmarcio/ntimes documentation built on Jan. 4, 2024, 2:23 p.m.