simulate_subjects: Run Population Simulations

Description Usage Arguments Details Value See Also

Description

Used to run Population/Monte Carlo simulations with subjects generated from either provided variance/covariance information or a dataset.

Usage

1
2
3
4
5
6
simulate_subjects(
  parameters,
  cfg,
  show_progress = TRUE,
  progress_message = "Simulating Subjects:"
)

Arguments

parameters

list containing the typical value of parameters

cfg

ubiquity system object

show_progress

Boolean value controlling the display of a progress indicator (TRUE)

progress_message

text string to prepend when called from the ShinyApp

Details

Failures due to numerical instability or other integration errors will be captured within the function. Data for those subjects will be removed from the output. Their IDs will be displayed as messages and stored in the output.

For more information on setting options for population simulation see the stochastic section of the system_set_option help file.

Value

Mapped simulation output with individual predictions, individual parameters, and summary statistics of the parameters. The Vignettes below details on the format of the output.

See Also

Vignette on simulation (vignette("Simulation", package = "ubiquity")) titration (vignette("Titration", package = "ubiquity")) as well as som_to_df


ubiquity documentation built on Sept. 5, 2021, 5:15 p.m.