simulate,odemodel-method {fitode}R 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


[Package fitode version 0.1.1 Index]