cs_to_filter_spec: Convert choices_selected to filter_spec

View source: R/utils.R

cs_to_filter_specR Documentation

Convert choices_selected to filter_spec

Description

Convert choices_selected to filter_spec

Usage

cs_to_filter_spec(cs, multiple = FALSE, label = "Filter by")

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().

label

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

Value

(teal.transform::filter_spec())


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