Skip to contents

Plot - Histogram

Usage

plot_histogram(
  data,
  xvar,
  fill,
  outline,
  row,
  column,
  width,
  height,
  title,
  subtitle,
  xlab,
  ylab,
  caption,
  theme,
  code,
  show_code
)

Arguments

data

data

xvar

xvar

fill

fill

outline

outline

row

facet row in grid

column

facet column in grid

width

width of plot

height

height of plot

title

title of plot

subtitle

subtitle of plot

xlab

x-axis

ylab

y-axis label

caption

caption

theme

theme

code

additional code

show_code

show/hide code

Value

No return value. This function is called for the side effect of launching a shiny application.

Examples

if (interactive()) {
  plot_histogram(mtcars)
}