sim_core: Only core function of the simulation function, always just...

View source: R/sim_core.R

sim_coreR Documentation

Only core function of the simulation function, always just returns observations. Mostly useful for estimations / optimal design. Has no checks (for speed)!

Description

Only core function of the simulation function, always just returns observations. Mostly useful for estimations / optimal design. Has no checks (for speed)!

Usage

sim_core(sim_object = NULL, ode, duplicate_t_obs = FALSE, t_init = 0)

Arguments

sim_object

list with design and simulation parameters

ode

ode

duplicate_t_obs

allow duplicate t_obs in output? E.g. for optimal design calculations when t_obs = c(0,1,2,2,3). Default is FALSE.

t_init

time of initization of the ODE system. Usually 0.

Value

Data frame with simulation results


PKPDsim documentation built on April 1, 2022, 9:05 a.m.