has_covariate_effect: has_covariate_effect

View source: R/functions_wrapper.R

has_covariate_effectR 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

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)


pharmr documentation built on May 28, 2026, 5:08 p.m.