Skip to contents

Convert choices_selected to select_spec

Usage

cs_to_select_spec(cs, multiple = FALSE, ordered = FALSE)

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 selectInput.

ordered

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

Value

(select_spec)