procfun_ct {pttstability}R Documentation

continuous-time process noise function

Description

Simulates effects of process noise following a Gaussian perturbation. Note that process noise only influences positive abundances (i.e. process noise cannot contribute to colonization)

Usage

procfun_ct(sp, xt, waiting_time = 1, time = NULL)

Arguments

sp

a numeric vector of length two or three, where terms 1-2 specify either the log-transformed standard deviation of the process noise function, or an intercept and slope for calculating variance of process noise based on a power function of x, of the form var=exp(B0)*x^exp(B1) The final term in the vector represents the recovery rate - i.e. the continuous time rate at which abundances recover from perturbation

xt

a number or numeric vector of abundances at time t, before process noise has occurred

waiting_time

average time between disturbance events: defaults to 1

time

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

Value

a number or numeric vector of length xt, with predicted abundances after process noise has occurred


[Package pttstability version 1.4 Index]