Learn R Programming

nlmixr2lib (version 0.3.0)

addIndirect: Add an indirect response model to a PK model

Description

Add an indirect response model to a PK model

Usage

addIndirect(
  ui,
  stim = c("in", "out"),
  inhib = c("in", "out"),
  hill = FALSE,
  ek = "Ek",
  ik = "Ik",
  emax = "Emax",
  ec50 = "EC50",
  imax = "Imax",
  ic50 = "IC50",
  kin = "kin",
  kout = "kout",
  g = "g",
  cc = "Cc",
  R = "R",
  effect = "effect"
)

Value

pk model with indirect response model added

Arguments

ui

rxode2 model

stim

what type of stimulation indirect response model:

- `in`: stimulation of input

- `out`: stimulation of output

inhib

what type of inhibition indirect response model:

- `in`: inhibition of input

- `out`: inhibition of output

hill

Boolean stating if a hill sigmoid coefficient will be added

ek

simulation linear constant

ik

inhibition linear constant

emax

Emax parameter

ec50

EC50 parameter

imax

maximum inhibitory concentration

ic50

concentration where half of the Imax occurs

kin

this is the kin parameter name

kout

this is the kout parameter name

g

hill coefficient

cc

the concentration value

R

drug response compartment

effect

the effect variable that will be modeled

Author

Matthew L. Fidler

See Also

Other Indirect response: addIndirectLin(), convertKinR0()

Examples

Run this code

readModelDb("PK_2cmt_no_depot") |>
  addIndirect(stim="in",hill=TRUE)

readModelDb("PK_2cmt_no_depot") |>
  addIndirect(inhib="out", imax=1)

Run the code above in your browser using DataLab