facet_bar: facet_bar

View source: R/facet_bar.R

facet_barR Documentation

facet_bar

Description

facet_bar

Usage

facet_bar(df, y, x, by, nrow = 2, ncol = 3, scales = "free")

Arguments

df

data frame used for plotting

y

what to plot on the y-axis

x

what to plot on the x-axis

by

the grouping/faceting variable

nrow

number of rows for the plot

ncol

number of panels in each row

scales

"free" allows for each panel to have its own scales


mengliuveronica/tm101 documentation built on June 9, 2022, 5:37 p.m.