Learn R Programming

starry (version 0.1.2)

plot_box: Plot - Box

Description

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
)

Value

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

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

Examples

Run this code
if (interactive()) {
  plot_box(mtcars)
}

Run the code above in your browser using DataLab