addIndirectLin: Add linear indirect response model

View source: R/addIndirect.R

addIndirectLinR Documentation

Add linear indirect response model

Description

Add linear indirect response model

Usage

addIndirectLin(
  ui,
  stim = c("in", "out"),
  inhib = c("in", "out"),
  ek = "Ek",
  ik = "Ik",
  kin = "kin",
  kout = "kout",
  cc = "Cc",
  R = "R",
  effect = "effect"
)

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

ek

simulation linear constant

ik

inhibition linear constant

kin

this is the kin parameter name

kout

this is the kout parameter name

cc

the concentration value

R

drug response compartment

effect

the effect variable that will be modeled

Value

model with linear indirect effect added

Note that while linear indirect effects are not common, it allows an easier hook to produce other standard effect curves like Emax/Imax, Hill, etc.

Author(s)

Matthew L. Fidler

See Also

Other Indirect response: addIndirect(), convertKinR0()

Examples


readModelDb("PK_2cmt_no_depot") |> addIndirectLin(stim="in")

readModelDb("PK_2cmt_no_depot") |> addIndirectLin(stim="out")

readModelDb("PK_2cmt_no_depot") |> addIndirectLin(inhib="in")

readModelDb("PK_2cmt_no_depot") |> addIndirectLin(inhib="out")


nlmixr2lib documentation built on Oct. 7, 2024, 5:08 p.m.