VPC for nlmixr saemFit objects

vpc_saemFit(fit, dat, nsim = 100, by = NULL, ...)

# S3 method for saemFit
vpc(sim, ...)

Arguments

fit

saemFit object

dat

Data to augment the saemFit vpc simulation

nsim

Number of simulations for the VPC

by

Variables to condition the VPC

...

Other arguments sent to vpc_vpc

sim

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

Value

vpc object from the vpc_vpc package

Author

Wenping Wang