has_covariate_effect {pharmr} | R Documentation |
has_covariate_effect
Description
Tests if an instance of :class:pharmpy.model
has a given covariate
effect.
Usage
has_covariate_effect(model, parameter, covariate)
Arguments
model |
(Model) Pharmpy model to check for covariate effect. |
parameter |
(str) Name of parameter. |
covariate |
(str) Name of covariate. |
Value
(logical) Whether input model has a covariate effect of the input covariate on the input parameter.
Examples
## Not run:
model <- load_example_model("pheno")
has_covariate_effect(model, "CL", "APGR")
## End(Not run)
[Package pharmr version 1.0.1 Index]