Core function to simulate a single subject
sim_subject.Rd
Core function to simulate a single subject
Arguments
- data
data for subject
- cov_mapping
a named vector indicating correspondence between model covariates and data frame columns. Vector names should reflect all covariates defined by the model, and vector values should represent the associated column in the provided data set.
- pars_true_i
PK parameters for the individual. See
generate_iiv
.- design
trial design, created using
create_trial_design()
- verbose
verbose output?
- ...
arguments passed on to
simulate_fit
or dose_optimization_method function.