plot_bar | R Documentation |
Plot - Bar
plot_bar( data, y, bar_width, fill, outline, position, labels, row, prop, column, theme, title, subtitle, xlab, ylab, caption, code )
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 |
No return value. This function is called for the side effect of launching a shiny application.
if (interactive()) { plot_bar(mtcars) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.