cs_to_select_spec: Convert choices_selected to select_spec

View source: R/utils.R

cs_to_select_specR Documentation

Convert choices_selected to select_spec

Description

Convert choices_selected to select_spec

Usage

cs_to_select_spec(cs, multiple = FALSE, ordered = FALSE, label = "Select")

Arguments

cs

(choices_selected)
object to be transformed. See teal.transform::choices_selected() for details.

multiple

(logical)
Whether multiple values shall be allowed in the shiny shiny::selectInput().

ordered

(logical(1))
Flags whether selection order should be tracked.

label

(character)
Label to print over the selection field. For no label, set to NULL.

Value

(select_spec)


teal.modules.clinical documentation built on April 4, 2025, 12:35 a.m.