simulate_internal: Internal function for simulation models

View source: R/simulate.R

simulate_internalR Documentation

Internal function for simulation models

Description

Simulates deterministic trajectories and propagates observation error

Usage

simulate_internal(
  model,
  times,
  parms,
  y,
  solver.opts = list(method = "rk4"),
  solver = ode,
  observation = TRUE,
  nsim = 1,
  seed = NULL
)

Arguments

model

odemodel object

times

time vector

parms

named vector of parameter values

y

initial values

solver.opts

options for ode solver

solver

ode solver (must take y, times, func, and parms arguments)

observation

(logical) propagate observation error?

nsim

number of simulations

seed

seed


fitode documentation built on Oct. 29, 2022, 9:05 a.m.