shiny (version 0.9.1)

tabPanel: Create a tab panel

Description

Create a tab panel that can be included within a tabsetPanel.

Usage

tabPanel(title, ..., value = NULL, icon = NULL)

Arguments

Value

A tab that can be passed to tabsetPanel

See Also

tabsetPanel

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 DataCamp Workspace