View source: R/solution_modifications.R
addComponentInput | R Documentation |
Notice: One can only add inputs that are defined by the sim component. If source is not given, then the parameter value is used.
addComponentInput(
sol,
componentid,
id,
source = NULL,
value = NULL,
datatype = NULL,
unit = NULL,
description = NULL
)
sol |
solution object |
componentid |
id of sim component |
id |
id of variable |
source |
source of variable |
value |
value of variable (is used only if source is not given or NULL) |
datatype |
datatype (optional) |
unit |
unit (optional) |
description |
short description (optional) |
modified solution object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.