View source: R/generate_function_inputs.R
generate_function_inputs | R Documentation |
The model needs to adhere to the structure specified by the modelbuilder package. Models built using the modelbuilder package automatically have the right structure. A user can also build a model list structure themselves following the modelbuilder specifications. If the user provides a file name, this file needs to be an Rds file and contain a valid modelbuilder model structure.
generate_function_inputs(mbmodel, modeltype)
mbmodel |
modelbuilder model structure |
modeltype |
Indicates type of model code that is generated. One of ode/stochastic/discrete |
This function takes as input a modelbuilder model and writes code that produces text needed to create the main function call and the var/par/time vectors
text that to be placed on top of function code generated by the calling function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.