powered by
Use to define engine parameters for model simulation.
specify_SimParams( numReplicates = 100L, seed = 1234L, sort = FALSE, ODE = c("MatrixExponent", "DVERK", "DOPRI5", "AutoDetect", "Stiff"), rtolODE = 1e-06, atolODE = 1e-06, maxStepsODE = 50000L )
Character
Integer; Number of replicates to simulate the model
Integer; Random number generator seed
Logical; Specifying whether or not to sort the input data by subject and time values. Default is TRUE.
TRUE
Character; Specifying the solver used to numerically solve Ordinary Differential Equations (ODEs). Options are
MatrixExponent (the default),
MatrixExponent
DVERK,
DVERK
DOPRI5,
DOPRI5
AutoDetect,
AutoDetect
Stiff.
Stiff
Note: both DVERK and DOPRI5 are non-stiff solvers. NLME will automatically switches to DVERK if ODEs are nonlinear.
Numeric; Specifying relative tolerance for the ODE solver. Not applicable when ODE == MatrixExponent.
ODE == MatrixExponent
Numeric; Specifying absolute tolerance for the ODE solver.
Numeric; Specifying maximum number of allowable steps or function evaluations for the ODE solver.
write_ModelTemplateTokens(), specify_EngineParams(), Table()
write_ModelTemplateTokens()
specify_EngineParams()
Table()
SimArgs1 <- specify_SimParams() SimArgs2 <- specify_SimParams( numReplicates = 100, seed = 1, ODE = "DVERK")
Run the code above in your browser using DataLab