EDMfun0 {pttstability}R Documentation

EDM deterministic function

Description

Estimates future states of xt based on based behaviour

Usage

EDMfun0(smp_cf, yp, x, minest = 0, maxest = NULL, time)

Arguments

smp_cf

a matrix of s-map coefficients. Columns correspond to intercept and time lags, rows to observations. Final column corresponds to intercept term.

yp

a matrix of covariates to be multiplied by the smp_cf (typically time lags). Should have one fewer column than smp_cf.

x

observation at time-1, to be used to make the prediction.

minest

minimum value to return for prediction - defaults to 0.

maxest

maximum value to return for prediction - defaults to NULL (no maximum)

time

the time step (i.e. position in smp_cf) for the desired prediction. Prediction will be made based on observation in preceding time point (i.e. time-1).

Value

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

Source

Adapted from Ye, Sugihara, et al. (2015), PNAS 112:E1569-E1576.


[Package pttstability version 1.4 Index]