multiple_sims: Multiple stochastic simulation

Description Usage Arguments Value Author(s) Examples

View source: R/multiple_sim.R

Description

Multiple stochastic simulation

Usage

1
2
  multiple_sims(model, maxtime, tstep, no_sims, no_cores,
    simulator, ...)

Arguments

no_sims

the number of stochastic simulations to perform

no_cores

the number of CPU cores to utilise.

simulator

the stochastic simulator that will be used.

...

additional parameters that will be passed to the simulator

model

a skm object, created using the create_model function

maxtime

the maximum simulation time

tstep

the output grid size. Note this doesn't (really) affect the underlying ODE solver

Value

A matrix. The first column contains the simulation time, the other columns contain the species. levels

Author(s)

Colin Gillespie

Examples

1
2
demo(lv)
multiple_sims(model, 5, 1, 4, 2, pleap, ddt=0.5)

issb documentation built on May 2, 2019, 4:43 p.m.

Related to multiple_sims in issb...