facet_bar | R Documentation |
facet_bar
facet_bar(df, y, x, by, nrow = 2, ncol = 3, scales = "free")
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.