columnSelector {wilson} | R Documentation |
columnSelector module server logic
Description
columnSelector module server logic
Usage
columnSelector(
input,
output,
session,
type.columns,
type = NULL,
column.type.label = "Type of Column",
label.label = "Label",
multiple = TRUE,
none = FALSE,
sep = ", ",
suffix = NULL
)
Arguments
input |
Shiny's input object |
output |
Shiny's output object |
session |
Shiny's session object |
type.columns |
data.table: (Supports reactive) key = columnnames (id) level = datalevel/ type of column label = optional, used instead of id sub_label = optional, added to id/ label |
type |
The type (contrast/group/sample of the type dropdown menu, selected in step 1 (upper dropdown). Defaults to unique(type.columns[,2]) (Supports reactive) |
column.type.label |
Changes the label of the first UI element |
label.label |
Change label above label text input. |
multiple |
Boolean value whether multiple values can be selected in second selector. (Default = TRUE) |
none |
If TRUE adds "None to secondSelector and select is. (Default = FALSE) |
sep |
Used to separate labels on multi value selection. |
suffix |
Added to label only on multiple = FALSE (supports reactive). Also uses sep as separator. |
Value
Returns the input. As named list: names("type", "selected_columns", "label")