Learn R Programming

yonder (version 0.1.0)

changeInput: Change input selection

Description

Use changeInput() to change an input's selected values. Values may be selected using regular expression pattern matching or exact matches, see fixed.

Usage

changeInput(id, pattern, fixed = FALSE, invert = FALSE, reset = TRUE,
  propagate = FALSE, session = getDefaultReactiveDomain())

Arguments

id

A character string specifying the id of an input.

pattern

A character string specifying a regular expression, if fixed is FALSE, values which match the expression will be selected. If fixed is TRUE, a character vector of one or more values specifying exact values to select.

fixed

One of TRUE or FALSE specifying if pattern is interpreted as a regular expression or a vector of character literals, defaults to FALSE.

invert

One of TRUE or FALSE specifying how values are matched, if TRUE values which do not match pattern will be selected, defaults to FALSE.

reset

One of TRUE or FALSE indicating how to handle any currently selected values, if TRUE the current selection is dropped before selecting new values, defaults to TRUE.

propagate

One of TRUE or FALSE specifying if the value change causes a re-evaluation of dependent reactives and observers, defaults to FALSE.

session

A reactive context, defaults to getDefaultReactiveDomain().