detfun0: default deterministic function

View source: R/particlefilter.R

detfun0R Documentation

default deterministic function

Description

Simulates deterministic component of Ricker model, of the form xt+1 = xt exp(exp(sdet[1])*(1-xt/exp(sdet[2])))

Usage

detfun0(sdet, xt, time = NULL, ...)

Arguments

sdet

a numeric vector of length two, specifying growth rate and carrying capacity

xt

a number or numeric vector of abundances at time t

time

the timestep - defaults to NULL (i.e. not used)

...

additional arguments, for compatability with other usages of the function - values are not used in this implementation

Value

a number or numeric vector of length xt, with predicted abundances at time t+1


pttstability documentation built on May 29, 2024, 1:28 a.m.