Skip to contents

Reparameterizes a double-absorption model so the second path's delay is estimated as an increment over the first path's delay, keeping the second absorption later than the first. Each path's delay may be a lag time or a transit chain; a transit chain is reparameterized to its mean transit time (see convertTransitMtt()) first.

Usage

convertAbsForceLongerDelay(
  ui,
  central = "central",
  depot = "depot",
  depot2 = "depot2",
  transit = "transit",
  ktr = "ktr",
  mtt = "Mtt",
  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

transit

transit-compartment prefix of the first path

ktr

transit rate variable of the first path

mtt

mean transit time variable of the first path

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 above the first

Details

The resulting parameterization depends on the two delay types:

  • lag and lag: Tlag2 = Tlag1 + diffTlag2

  • lag and transit: Mtt2 = Tlag1 + diffMtt2

  • transit and lag: Tlag2 = Mtt1 + diffTlag2

  • transit and transit: Mtt2 = Mtt1 + diffMtt2

Author

Matthew L. Fidler