Skip to contents

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 a model and parameters 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 a fit object.

n

number of simulation iterations to generate

verbose

verbose output?