idv.obs.pred.vs.time: Comparison of the time profiles of observations with the...

View source: R/PMXStanFit.R

idv.obs.pred.vs.timeR Documentation

Comparison of the time profiles of observations with the predictions for each individual.

Description

plots time profiles of the prediction medians and 95 profile of observations for individual patients. This function is a generic version of the method plot.gof.idv() for the PMXStanFit class.

Usage

idv.obs.pred.vs.time(fit)

Arguments

fit

a PMXStanFit object.

Value

No return value, called for side effects

See Also

PMXStanFit for the methods plot.gof.idv().

Examples


m1 <- PMXStanModel(path = tempfile("pk_m1"), pk.struct = "1-cmpt", compile=TRUE)

data("examples_data")
dat <- prepareInputData(data.source = d1_nm_poppk, model = m1)

fit <- PMXStanFit(m1, dat, iter=100, chains=1)

fit$plot.gof.idv()
#idv.obs.pred.vs.time(fit)


stanette documentation built on May 11, 2022, 5:11 p.m.