pbsSim: Simulate Three Species Dynamics via Hastings & Powell Model

pbsSimR Documentation

Simulate Three Species Dynamics via Hastings & Powell Model

Description

Simulate Three Species Dynamics via Hastings & Powell Model

Usage

pbsSim(
  length_out,
  time_step = 1,
  burn_steps = 10,
  x0 = 0.8,
  y0 = 0.2,
  z0 = 9,
  a1 = 5,
  a2 = 0.1,
  b1 = 2,
  b2 = 2,
  d1 = 0.4,
  d2 = 0.01
)

Arguments

length_out

[integer()] Time series length

time_step

[numeric()] Sample frequency relative to t = R0 * T

burn_steps

[integer()] Number of burn in steps

x0

[numeric()] Predator state variable.

y0

[numeric()] Prey state variable.

z0

[numeric()] Producer state variable.

a1

[numeric()] Parameter a1

a2

[numeric()] Parameter a2

b1

[numeric()] Parameter b1

b2

[numeric()] Parameter b2

d1

[numeric()] Parameter d1

d2

[numeric()] Parameter d2

Value

[matrix()] Time series as columns.

Examples

length_out <- 5000
time_step <- 1
burn_steps <- 5000
x0 <- 0.78
y0 <- 0.16
z0 <- 10.0
a1 <- 5.0
a2 <- 0.1
b1 <- 3.0
b2 <- 2.0
d1 <- 0.4
d2 <- 0.01

s1 <- pbsSim(
  length_out = length_out,
  time_step = time_step,
  burn_steps = burn_steps,
  x0 = x0,
  y0 = y0,
  z0 = z0,
  a1 = a1,
  a2 = a2,
  b1 = b1,
  b2 = b2,
  d1 = d1,
  d2 = d2)


luke-a-rogers/pbsedm documentation built on June 3, 2024, 5:20 a.m.