View source: R/hardReexports.R
vpcPlotTad | R Documentation |
VPC based on ui model
vpcPlotTad(..., idv = "tad")
... |
Additional arguments passed to |
idv |
Name of independent variable. For |
Simulated dataset (invisibly)
Matthew L. Fidler
one.cmt <- function() {
ini({
tka <- 0.45; label("Ka")
tcl <- log(c(0, 2.7, 100)); label("Cl")
tv <- 3.45; label("V")
eta.ka ~ 0.6
eta.cl ~ 0.3
eta.v ~ 0.1
add.sd <- 0.7; label("Additive residual error")
})
model({
ka <- exp(tka + eta.ka)
cl <- exp(tcl + eta.cl)
v <- exp(tv + eta.v)
linCmt() ~ add(add.sd)
})
}
fit <-
nlmixr2est::nlmixr(
one.cmt,
data = nlmixr2data::theo_sd,
est = "saem",
control = list(print = 0)
)
vpcPlot(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.