Run simplex projection models for each time series in the
block
and save the output, to determine the best embedding dimension for
each column.
compute_simplex(block, E_list = 1:10, surrogate_method = "annual_spline", num_surr = 100, surr_params = NULL, id_var = NULL)
block | a data.frame containing time series for the community. Each column is a time series of abundances. |
---|---|
E_list | the embedding dimension or range of embedding dimensions to search over. |
surrogate_method | which surrogate method to use:
options are "annual_spline" or methods available in
|
num_surr | number of surrogates to compute |
surr_params | a list of named optional arguments to be passed into the surrogate data function |
id_var | the name of the index variable of |
A tibble with columns for the species name (taken from the original
column names), the abundance time series for each species, the output from
rEDM::simplex()
, the best embedding dimension, as determined by
the E that minimizes MAE, and surrogate time series