View source: R/functions_wrapper.R
set_direct_effect | R Documentation |
Add an effect to a model.
Effects are by default using concentratrion, but any user specified variable in the model can be used. Implemented PD models are:
Linear:
(equation could not be rendered, see API doc on website)
Emax:
(equation could not be rendered, see API doc on website)
Step effect:
(equation could not be rendered, see API doc on website)
Sigmoidal:
(equation could not be rendered, see API doc on website)
Log-linear:
(equation could not be rendered, see API doc on website)
(equation could not be rendered, see API doc on website)
set_direct_effect(model, expr, variable = NULL)
model |
(Model) Pharmpy model |
expr |
(str) Name of PD effect function. |
variable |
(str (optional)) Name of variable to use (if NULL concentration will be used) |
(Model) Pharmpy model object
## Not run:
model <- load_example_model("pheno")
model <- set_direct_effect(model, "linear")
model$statements$find_assignment("E")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.