Learn R Programming

nlmixr2lib (version 0.3.0)

addWeibullAbs: Converts first order absorption model to Weibull absorption model

Description

Converts first order absorption model to Weibull absorption model

Usage

addWeibullAbs(
  ui,
  ntransit,
  central = "central",
  depot = "depot",
  transit = "transit",
  wa = "wa",
  wb = "wb",
  ka = "ka",
  ktr = "ktr"
)

Value

model where first order absorption is changed to Weibull absorption model

Arguments

ui

The model as a function

ntransit

the number of transit compartments to be added

central

central compartment name

depot

depot compartment name

transit

the transit compartment prefix

wa

Weibull alpha parameter name

wb

Weibull beta parameter name

ka

absorption rate parameter name

ktr

the parameter name for the transit compartment rate

Author

Matthew L. Fidler

See Also

Other absorption: addTransit(), removeTransit()

Examples

Run this code
readModelDb("PK_1cmt_des") |>
  addWeibullAbs()

Run the code above in your browser using DataLab