remove_covariate_effect: remove_covariate_effect

View source: R/functions_wrapper.R

remove_covariate_effectR 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)


pharmpy/pharmr documentation built on Feb. 15, 2025, 3:22 a.m.