simulate_model: Simulates an RxODE model

Description Usage Arguments Value

View source: R/estimator.R

Description

Simulates an RxODE model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
simulate_model(
  model,
  event_table,
  inits,
  THETA,
  sim_times,
  ETA = NULL,
  iCov = NULL,
  ...
)

Arguments

model

the RxODE model

event_table

the RxODE event table

inits

a vector of initial values of the state variables (e.g., amounts in each compartment), and the order in this vector must be the same as the state variables (e.g., PK/PD compartments)

THETA

model THETAS

sim_times

simulation times

iCov

dataframe of individual time-independent covariates or NULL if not used

...

additonal parameters for RxODE 'solve' function

eta

model ETAS or NULL if only typical values should be simulated

Value

RxODE simulation result


onwhenrdy/mapstimator documentation built on July 8, 2020, 10:32 p.m.