add_model_var: A helper function that adds a variable to the shiny UI...

View source: R/add_model_var.R

add_model_varR Documentation

A helper function that adds a variable to the shiny UI elements of the build tab

Description

This function adds inputs for a new variable. This is a helper function called by the shiny app.

Usage

add_model_var(values, output, input, newVarNumber)

Arguments

values

a shiny variable keeping track of UI elements

output

shiny output structure

input

shiny input structure

newVarNumber

the variable number to be assigned

Details

This function is called by the Shiny server to produce the Shiny input UI elements for the build tab.

Value

No direct return. output structure is modified to contain text for display in a Shiny UI

Author(s)

Andreas Handel


andreashandel/modelbuilder documentation built on April 16, 2024, 8:48 a.m.