View source: R/rdm_window_analysis.R
This function is a wrapper for calculating various regime detection measures within a moving window.
1 2 | rdm_window_analysis(dataInRDM, winMove = 0.25, min.window.dat = 2,
fi.equation = "7.12", to.calc = c("VI", "FI", "EWS"), fill = 0)
|
dataInRDM |
A data frame with columns: sortVar: usually time or some spatial dimension; variable: usually species; value: observations about the variable (e.g., count) |
winMove |
The proportion of each time series to be included in the moving window. Default = 0.25 (or 25 percent of the observations). |
min.window.dat |
Used in calc_FisherInformation. Minimum # of data points in each window to include in calculations. Default = 2 data points |
to.calc |
Which measures to calculate. VI variance index. FI Fisher Information. EWS 1st through 4th moments, etc. Default = ALL measures. |
fill |
Used in the function _calculate_VI_. Fill value for missing data. Default = 0 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.