shiny (version 0.9.1)

tabsetPanel: Create a tabset panel

Description

Create a tabset that contains tabPanel elements. Tabsets are useful for dividing output into multiple independently viewable sections.

Usage

tabsetPanel(..., id = NULL, selected = NULL, type = c("tabs", "pills"),
  position = c("above", "below", "left", "right"))

Arguments

Value

A tabset that can be passed to mainPanel

See Also

tabPanel, updateTabsetPanel

Examples

Run this code
# Show a tabset that includes a plot, summary, and
# table view of the generated distribution
mainPanel(
  tabsetPanel(
    tabPanel("Plot", plotOutput("plot")),
    tabPanel("Summary", verbatimTextOutput("summary")),
    tabPanel("Table", tableOutput("table"))
  )
)

Run the code above in your browser using DataLab