remove_covariate_effect {pharmr}R Documentation

remove_covariate_effect

Description

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

Usage

remove_covariate_effect(model, parameter, covariate)

Arguments

model

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

parameter

(str) Name of parameter.

covariate

(str) Name of covariate.

Value

(Model) Pharmpy model object

Examples

## Not run: 
model <- load_example_model("pheno")
has_covariate_effect(model, "CL", "WGT")
model <- remove_covariate_effect(model, "CL", "WGT")
has_covariate_effect(model, "CL", "WGT")

## End(Not run)


[Package pharmr version 1.0.1 Index]