View source: R/particlefilter.R
EDMfun0 | R Documentation |
Estimates future states of xt based on based behaviour
EDMfun0(smp_cf, yp, x, minest = 0, maxest = NULL, time)
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). |
a number or numeric vector of length xt, with predicted abundances at time t+1
Adapted from Ye, Sugihara, et al. (2015), PNAS 112:E1569-E1576.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.