
Last chance! 50% off unlimited learning
Sale ends in
This is a wrapper function for generating surrogate time series using several different null models.
make_surrogate_data(ts, method = c("random_shuffle", "ebisuzaki",
"seasonal"), num_surr = 100, T_period = 1, alpha = 0)
the original time series
which algorithm to use to generate surrogate data
the number of null surrogates to generate
the period of seasonality for seasonal surrogates (ignored for other methods)
standard deviation of seasonal cycle deviates.
A matrix where each column is a separate surrogate with the same length as `ts`.
# NOT RUN {
data = make_surrogate_data(block_3sp$x_t)
# }
Run the code above in your browser using DataLab