Learn R Programming

pharmr (version 1.4.0)

remove_covariate_effect: remove_covariate_effect

Description

Remove a covariate effect from an instance of :class:pharmpy.model.

Usage

remove_covariate_effect(model, parameter, covariate)

Value

(Model) Pharmpy model object

Arguments

model

(Model) Pharmpy model from which to remove the covariate effect.

parameter

(str) Name of parameter.

covariate

(str) Name of covariate.

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
has_covariate_effect(model, "CL", "WGT")
model <- remove_covariate_effect(model, "CL", "WGT")
has_covariate_effect(model, "CL", "WGT")
}

Run the code above in your browser using DataLab