set_direct_effect {pharmr} | R Documentation |
set_direct_effect
Description
Add an effect to a model.
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)
Usage
set_direct_effect(model, expr)
Arguments
model |
(Model) Pharmpy model |
expr |
(str) Name of PD effect function. |
Value
(Model) Pharmpy model object
Examples
## Not run:
model <- load_example_model("pheno")
model <- set_direct_effect(model, "linear")
model$statements$find_assignment("E")
## End(Not run)
[Package pharmr version 1.0.1 Index]