lna: Stochastic simulation using the linear noise approximation

Description Usage Arguments Value Author(s) Examples

View source: R/lna.R

Description

Stochastic simulation using the linear noise approximation

Usage

1
  lna(model, maxtime, ddt, restart = FALSE)

Arguments

restart

a logical value. The default value of FALSE runs the standard linear noise approximation. A value of TRUE runs the algorithm of Fearnhead, Giagos, and Sherlock, 2012.

model

a skm object, created using the create_model function

maxtime

the maximum simulation time

ddt

the step size used in the Euler-Maruyama 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)
lna(model, 10, 0.1)

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

Related to lna in issb...