shiny (version 0.9.1)

plotOutput: Create an plot output element

Description

Render a renderPlot within an application page.

Usage

plotOutput(outputId, width = "100%", height = "400px", clickId = NULL,
  hoverId = NULL, hoverDelay = 300, hoverDelayType = c("debounce",
  "throttle"))

Arguments

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 DataLab