All functions

add_model_flow()

A helper function that adds flow UI inputs to the shiny UI elements of the build tab

add_model_par()

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

add_model_var()

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

analyze_model()

Run simulations for a modelbuilder model object.

check_model()

A function that takes a modelbuilder model and checks it for errors

generate_buildUI()

A helper function that takes a model and generates the shiny UI elements for the build tab

generate_discrete()

Create a discrete time simulation model

generate_equations()

Turn a model into a set of differential equations displayed as LaTeX/HTML object

generate_function_documentation()

Create documentation/header part for a simulation model

generate_function_inputs()

Create function input/arguments part for a simulation model

generate_ggplot()

A helper function that takes simulation results and produces ggplot plots

generate_model()

A helper function that reads the shiny model builder UI inputs and saves information in a model object

generate_model_file()

Create code that encodes a modelbuilder model

generate_ode()

Create an ODE simulation model

generate_plotly()

A helper function that takes simulation results and produces plotly plots

generate_shinyinput()

A helper function that takes a model and generates shiny UI elements

generate_stochastic()

Create a stochastic compartmental simulation model

generate_stratified_model()

Stratify an mb model by groups

generate_stratifier_list()

Produce a default stratifier list for use with the generate_stratification function

generate_tables()

Generate a table of state variables, parameters, and initial values

generate_text()

A helper function that takes result from the simulators and produces text output

get_math()

Extract the math symbols from a flow

get_vars_pars()

Extract the variables and parameters from a flow

load_model()

A function that loads a model saved as file

modelbuilder()

Load the main menu for the modelbuilder package

remove_model_flow()

A helper function that removes a the shiny UI elements for a flow of the build tab

remove_model_par()

A helper function that removes a parameter from the shiny UI elements of the build tab

remove_model_var()

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

remove_model_variableModal()

produces remove variable confirmation modal