View source: R/shinyCGNM_related.R
| make_ShinyCGNM_initialCondition | R Documentation |
A helper function to build the (optional) initial condition table accepted by
generateCGNM_script's initialConditionData_table. This lets you set
the value of an ODE compartment at time 0 explicitly, independently of (or together with)
any dosing into that compartment from a dose table.
make_ShinyCGNM_initialCondition(ID, state, value, fileName = NA)
ID |
(required input) string or vector which individual(s) this initial condition applies to. |
state |
(required input) string or vector name of the ODE compartment (state variable) whose initial condition is being set. |
value |
(required input) number, string, or vector the initial condition. May be a plain number, or a string expression that references a parameter name (mirroring |
fileName |
(default: NA) NA or string |
data.frame if fileName is NA Null if fileName is not NA but instead write out the csv file
make_ShinyCGNM_initialCondition(
ID="1",
state="central",
value=5
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.