Run a simulation based on supplied parameters estimates, and combine into proper format for VPC
Source:R/create_vpc_data.R
create_vpc_data.Rd
Run a simulation based on supplied parameters estimates, and combine into proper format for VPC
Usage
create_vpc_data(
fit = NULL,
model = NULL,
parameters = NULL,
keep_columns = c("GROUP"),
n = 100,
verbose = FALSE
)
Arguments
- fit
fit object from
pharmr::run_modelfit()
. Optional, can supply amodel
andparameters
argument- model
pharmpy model object. Optional, can only supply just a
fit
object- parameters
list of parameter estimates, e.g.
list(CL = 5, V = 50)
. Optional, can also supply afit
object.- n
number of simulation iterations to generate
- verbose
verbose output?