
Last chance! 50% off unlimited learning
Sale ends in
Create a tab panel that can be included within a tabsetPanel
.
tabPanel(title, ..., value = title, icon = NULL)
Display title for tab
UI elements to include within the tab
The value that should be sent when tabsetPanel
reports
that this tab is selected. If omitted and tabsetPanel
has an
id
, then the title will be used..
Optional icon to appear on the tab. This attribute is only
valid when using a tabPanel
within a navbarPage
.
A tab that can be passed to tabsetPanel
# NOT RUN {
# 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