add_indirect_effect: add_indirect_effect

View source: R/functions_wrapper.R

add_indirect_effectR Documentation

add_indirect_effect

Description

Add indirect (turnover) effect

The concentration (equation could not be rendered, see API doc on website)

  • Production:

(equation could not be rendered, see API doc on website)

  • Degradation:

(equation could not be rendered, see API doc on website)

(equation could not be rendered, see API doc on website) Baseline (equation could not be rendered, see API doc on website)

Models:

  • Linear:

(equation could not be rendered, see API doc on website)

  • Emax:

(equation could not be rendered, see API doc on website)

  • Sigmoidal:

(equation could not be rendered, see API doc on website)

Usage

add_indirect_effect(model, expr, prod = TRUE)

Arguments

model

(Model) Pharmpy model

expr

(str) Production (TRUE) (default) or degradation (FALSE)

prod

(logical) Name of PD effect function.

Value

(Model) Pharmpy model object

Examples

## Not run: 
model <- load_example_model("pheno")
model <- add_indirect_effect(model, expr='linear', prod=TRUE)

## End(Not run)


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