Learn R Programming

DSAIRM (version 0.5.5)

generate_shinyinput: A helper function that takes a model and generates the shiny UI elements for the analyze tab

Description

This function generates numeric shiny UI inputs for a supplied model. This is a helper function called by the shiny app.

Usage

generate_shinyinput(mbmodel, otherinputs = NULL, packagename)

Arguments

mbmodel

a name of a function for which to build inputs

otherinputs

a list of other shiny inputs to include

packagename

name of package using this function

Value

A renderUI object that can be added to the shiny output object for display in a Shiny UI

Details

This function is called by the Shiny app to produce the Shiny input UI elements. mbmodel is assumed to be the name of a function which will be parsed to create UI elements. Non-numeric arguments of functions are removed.