plot_bar {starry} | R Documentation |
Plot - Bar
Description
Plot - Bar
Usage
plot_bar(
data,
y,
bar_width,
fill,
outline,
position,
labels,
row,
prop,
column,
theme,
title,
subtitle,
xlab,
ylab,
caption,
code
)
Arguments
data |
data |
y |
variable on y axis |
bar_width |
width of bar |
fill |
fill |
outline |
outline |
position |
position of bars |
labels |
data labels |
row |
facet row in grid |
prop |
proportion |
column |
facet column in grid |
theme |
theme of plot |
title |
title of plot |
subtitle |
subtitle of plot |
xlab |
x-axis |
ylab |
y-axis label |
caption |
caption |
code |
add custom code |
Value
No return value. This function is called for the side effect of launching a shiny application.
Examples
if (interactive()) {
plot_bar(mtcars)
}
[Package starry version 0.1.2 Index]