convertLogLin: Converts a linear effect to a log-linear effect

View source: R/convertLogLin.R

convertLogLinR Documentation

Converts a linear effect to a log-linear effect

Description

Converts a linear effect to a log-linear effect

Usage

convertLogLin(ui, ek = c("Ik", "Ek"), cc = c("Ce", "Cc"))

Arguments

ui

rxode2 model

ek

simulation linear constant

cc

the concentration value

Value

model converted from linear to log-linear effect

Author(s)

Matthew L. Fidler

See Also

Other PD: addBaseline1exp(), addBaselineConst(), addBaselineExp(), addBaselineLin(), addDirectLin(), convertEmax(), convertQuad()

Examples


readModelDb("PK_2cmt_no_depot") |>
  addDirectLin() |>
  convertLogLin()

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

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