shiny (version 0.2.4)

plotOutput: Create a plot output element

Description

Render a reactivePlot within an application page.

Usage

plotOutput(outputId, width = "100%", height = "400px")

Arguments

outputId
output variable to read the plot from
width
Plot width
height
Plot height

Value

  • A plot output element that can be included in a panel

Examples

Run this code
# Show a plot of the generated distribution
mainPanel(
  plotOutput("distPlot")
)

Run the code above in your browser using DataCamp Workspace