| obs.vs.pred | R Documentation |
Plots medians of predictions vs. observations for goodness-of-fit assessment, either for the
whole population or for subgroups classified by a given covariate. This function is a generic
version of the method plot.gof.pred.obs() for the PMXStanFit class.
obs.vs.pred(fit, ...)
fit |
a |
... |
additional arguments. |
No return value, called for side effects
PMXStanFit for the methods plot.gof.pred.obs().
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)
obs.vs.pred(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.