Skip to contents

Plot - Box

Usage

plot_box(
  data,
  x,
  y,
  theme,
  box_width,
  fill,
  outline,
  row,
  column,
  width,
  height,
  title,
  subtitle,
  xlab,
  ylab,
  caption,
  show_code,
  code
)

Arguments

data

data

x

variable on x axis

y

variable on y axis

theme

theme of plot

box_width

width of box

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

show_code

show the generated code TRUE or FALSE, (default TRUE)

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