tabPanelModuleUI: modularized UI for creating a new tab

View source: R/tabPanelModule.R

tabPanelModuleUIR Documentation

modularized UI for creating a new tab

Description

Creates a UI tab with helptext, widgets for user input, a plot, and standardized layout. The default is to create one plot, but if the argument 'twoPlots' is set to TRUE, then the layout allows for two plots, where each can have separate helper text and Shiny widget calls.

Usage

tabPanelModuleUI(
  id,
  tabTitle,
  icon = NULL,
  calls = NULL,
  helperText = NULL,
  twoPlots = FALSE,
  calls2 = NULL,
  helperText2 = NULL,
  title2 = NULL,
  brushName = NULL,
  is.plotly = FALSE
)

Arguments

id

Name of module. Allows each call of this module to be uniquely identified.

tabTitle

Title of the tab, visible in UI

icon

Optional icon to appear on the tab. This attribute is only valid when using a tabPanel within a navbarPage.

calls

Unevaluated expression that stores Shiny widgets (for example, a call to a sliderInput function) for the tab.

helperText

Optional help text for the tab.

twoPlots

defaults to FALSE, and layout is generated for one plot. If TRUE, layout is generated for two plots

calls2

Unevaluated expression that stores Shiny widgets for the (optional) second plot

helperText2

Optional help text for the (optional) second plot

title2

plot title for the (optional) second plot

brushName

character vector indicating the name of brush if you want brushing for the plot. For use in score scatterplots for plot_shiny.fpca() and plot_shiny.mfpca().

is.plotly

Indicates if plots are plotly generated. Defaults to FALSE.

Author(s)

Julia Wrobel julia.wrobel@cuanschutz.edu


refund.shiny documentation built on Oct. 11, 2022, 1:05 a.m.