powered by
Tests if an instance of :class:pharmpy.model has a given covariate effect.
pharmpy.model
has_covariate_effect(model, parameter, covariate)
(logical) Whether input model has a covariate effect of the input covariate on the input parameter.
(Model) Pharmpy model to check for covariate effect.
(str) Name of parameter.
(str) Name of covariate.
if (FALSE) { model <- load_example_model("pheno") has_covariate_effect(model, "CL", "APGR") }
Run the code above in your browser using DataLab