plotOutputAdd: Create an plot output element

Description Usage Arguments Value Author(s) See Also Examples

Description

Render a renderPlot within an application page.

Usage

1
  plotOutputAdd(outputId, width = "100%", height = "400px", plotcode = NULL)

Arguments

outputId

output variable to read the plot from

width

Plot width. Must be a valid CSS unit (like "100%", "400px", "auto") or a number, which will be coerced to a string and have "px" appended.

height

Plot height

plotcode

A character string of R commands to produce the plot.

Value

Invisibly return the ui.R and server.R code in a list.

Author(s)

Jay Emerson, based on plotOutput from package shiny.

See Also

See also plotOutput.

Examples

1
# None

jayemerson/ShinyHelper documentation built on May 18, 2019, 5:57 p.m.