simulate-odemodel-method: simulate model objects

simulate,odemodel-methodR Documentation

simulate model objects

Description

simulate model objects

Usage

## S4 method for signature 'odemodel'
simulate(
  object,
  nsim = 1,
  seed = NULL,
  times,
  parms,
  y,
  solver.opts = list(method = "rk4"),
  solver = ode,
  observation = TRUE
)

Arguments

object

odemodel object

nsim

number of simulations

seed

random-number seed

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?

Value

The numerical simulation of the object


parksw3/fitode documentation built on April 3, 2024, 7:45 a.m.