View source: R/functions_wrapper.R
set_ode_solver | R Documentation |
Sets ODE solver to use for model
Recognized solvers and their corresponding NONMEM advans:
+—————————-+——————+ | Solver | NONMEM ADVAN | +============================+==================+ | CVODES | ADVAN14 | +—————————-+——————+ | DGEAR | ADVAN8 | +—————————-+——————+ | DVERK | ADVAN6 | +—————————-+——————+ | IDA | ADVAN15 | +—————————-+——————+ | LSODA | ADVAN13 | +—————————-+——————+ | LSODI | ADVAN9 | +—————————-+——————+
set_ode_solver(model, solver)
model |
(Model) Pharmpy model |
solver |
(str) Solver to use or NULL for no preference |
(Model) Pharmpy model object
## Not run:
model <- load_example_model("pheno")
model <- set_ode_solver(model, 'LSODA')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.