This function generates numeric shiny UI inputs for a supplied model. This is a helper function called by the shiny app.
generate_shinyinput(mbmodel, otherinputs, packagename, output)
a name of a file/function or a modelbuilder model structure
a list of other inputs to include
name of package using this function
shiny output structure
No direct return. output structure is modified to contain text for display in a Shiny UI
This function is called by the Shiny app to produce the Shiny input UI elements. If mbmodel is an object, it is assumed to be a mbmodel type and will be parsed to create the UI elements. If mbmodel is a character, it is assumed to be the name of a function which will be parsed to create UI elements. Non-numeric arguments of functions are removed.