Learn R Programming

nlmixr2lib (version 0.3.0)

addIndirectLin: 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"
)

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.

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

Author

Matthew L. Fidler

See Also

Other Indirect response: addIndirect(), convertKinR0()

Examples

Run this code

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

Run the code above in your browser using DataLab