gen_input_seq: Generate a sequence of Shiny Inputs

Description Usage Arguments Value Examples

View source: R/generate_inputs.R

Description

Generate a sequence of Shiny Inputs

Usage

1
gen_input_seq(FUN, id_prefix, len, ...)

Arguments

FUN

a ShinyInput function - should theoretically work for all shinyInput functions that have inputid as the first argument

id_prefix

a string that will be combined with a sequence of length len and passed as the inputid

len

the desired output length - generates a sequence that is combined withid_prefix and passed as the inputid

...

other arguments to be passed to the FUN

Value

a character vector of shinyInputs

Examples

1
gen_input_seq(FUN = numericInput,id_prefix = 'itemprice_',len = 5,...)

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