read_inputs: Read a sequence of Shiny Inputs

Description Usage Arguments Value Examples

View source: R/read_inputs.R

Description

Read a sequence of Shiny Inputs

Usage

1
2
3
4
5
6
read_inputs(
  inputid = NULL,
  nullarg = NA,
  type = c("chr", "dbl", "lgl", "int"),
  .env = shiny::getDefaultReactiveDomain()
)

Arguments

inputid

a vector of inputids to read

nullarg

the value to return if the input value is NULL i.e. missing

type

one of ('chr','dbl','lgl','int') - specifies type of atomic vector to return

.env

the environment to look for the input - defaults to the default reactive domain

Value

a vector of values

Examples

1
read_inputs(inputid = c('select_1','select_2'), nullarg = NA, type = 'chr')

tanho63/tanmisc documentation built on Aug. 9, 2021, 5:26 p.m.