Skip to contents

Reparameterizes a double-absorption model so the second path's delay starts after the first path's zero-order duration, matching Monolix's "sequential" double-absorption models. Only valid when the first path absorbs zero-order; raises an error otherwise.

Usage

convertAbsSequential(
  ui,
  central = "central",
  depot = "depot",
  depot2 = "depot2",
  transit2 = "transitB",
  ktr2 = "ktrB",
  mtt2 = "Mtt2"
)

Arguments

ui

The model as a function (or something convertible to an rxUi object)

central

central compartment name

depot

depot compartment name

depot2

name of the second depot compartment

transit2

transit-compartment prefix of the second path

ktr2

transit rate variable of the second path

mtt2

mean transit time variable of the second path

Value

a model with the second delay tied to the first duration

Details

The second delay is rewritten as one of the Monolix sequential parameterizations, depending on how it is expressed and whether the first path also has a lag time (Tlag1):

  • lag time: Tlag2 = Tk01 (or Tlag2 = Tlag1 + Tk01)

  • no delay: a lag time is added and tied the same way

  • transit chain: converted to Mtt2 (see convertTransitMtt()), then Mtt2 = Tk01 + diffMtt2 (or Mtt2 = Tlag1 + Tk01 + diffMtt2)

Author

Matthew L. Fidler