Skip to contents

Plot - Density

Usage

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

Arguments

data

data

xvar

xvar

fill

fill

outline

outline

row

facet row in grid

column

facet column in grid

height

height of plot

width

width of plot

theme

theme

title

title of plot

subtitle

subtitle of plot

caption

caption

xlab

x-axis

ylab

y-axis label

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_density(mtcars)
}