# Change the transformation of the PK model from cl to k
readModelDb("PK_3cmt_des") |>
removeLinesAndInis(c("kel", "k12", "k21", "k13", "k31", "vc")) |>
addLogEstimates(c("kel", "k12", "k21", "k13", "k31", "vc"))
# You can also label the parameters by using a named character
# vector with the names of the parameters representing the
# variables and the values representing the labels:
readModelDb("PK_3cmt_des") |>
removeLinesAndInis(c("kel", "k12", "k21", "k13", "k31", "vc")) |>
addLogEstimates(c(kel="elimination", k12="k12 constant",
k21="k21 constant",
k13="k13 constant",
k31="k31 constant",
vc="volume of central compartment"))
Run the code above in your browser using DataLab