Calculate aggregate statistics for simulated and observed VPC data
calc_vpc_continuous(sim, obs, loq, pi, ci, stratify, bins, bin_mid, verbose)A list with "vpc_dat" and "aggr_obs"
this is usually a data.frame with observed data, containing the independent and dependent variable, a column indicating the individual, and possibly covariates. E.g. load in from NONMEM using read_table_nm. However it can also be an object like a nlmixr or xpose object
a data.frame with observed data, containing the independent and dependent variable, a column indicating the individual, and possibly covariates. E.g. load in from NONMEM using read_table_nm
The list output from define_loq()
simulated prediction interval to plot. Default is c(0.05, 0.95),
confidence interval to plot. Default is (0.05, 0.95)
character vector of stratification variables.
either "density", "time", or "data", "none", or one of the approaches available in classInterval() such as "jenks" (default) or "pretty", or a numeric vector specifying the bin separators.
either "mean" for the mean of all timepoints (default) or "middle" to use the average of the bin boundaries.
show debugging information (TRUE or FALSE)