diffusion: Runs the Euler-Maruyama approximation

Description Usage Arguments Value Author(s) Examples

View source: R/diffusion.R

Description

Runs the Euler-Maruyama approximation

Usage

1
  diffusion(model, maxtime, ddt)

Arguments

ddt

the step size used in the Euler-Maruyama solver

model

a skm object, created using the create_model function

maxtime

the maximum simulation time

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)
diffusion(model, 10, 0.05)

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

Related to diffusion in issb...