run_simulation_ubiquity: Simulate Individual Response

View source: R/ubiquity.r

run_simulation_ubiquityR Documentation

Simulate Individual Response

Description

Controls the execution of individual simulations with deSolve using either R scripts or loadable C libraries.

Usage

run_simulation_ubiquity(SIMINT_parameters, SIMINT_cfg, SIMINT_dropfirst = TRUE)

Arguments

SIMINT_parameters

vector of parameters

SIMINT_cfg

ubiquity system object

SIMINT_dropfirst

when TRUE it will drop the first sample point (prevents bolus doses from starting at 0)

Value

The simulation output is mapped (som) is a list. time-course is stored in the simout element.

  • The first column (time) contains the simulation time in the units of the simulation.

  • Next there is a column for each: State, output and system parameter

  • Models with covariate will contain the initial value (prefix: SIMINT_CVIC_) as well as the values at each time point

  • Each static and dynamic system parameter is also passed through

  • A column for each timescale is returned with a "ts." prefix.

See Also

Simulation vignette (vignette("Simulation", package = "ubiquity"))


john-harrold/ubiquity documentation built on March 13, 2024, 2:58 a.m.