qda_ews
is used to estimate autocorrelation,
variance within rolling windows along a timeseries, test
the significance of their trends, and reconstruct the
potential landscape of the timeseries
qda_ews(timeseries, param = NULL, winsize = 50, detrending = c("no", "gaussian", "linear", "first-diff"), bandwidth = NULL, boots = 100, s_level = 0.05, cutoff = 0.05, detection.threshold = 0.002, grid.size = 50, logtransform = FALSE, interpolate = FALSE)
gaussian
filtering, linear
detrending and first-differencing
. Default is
no
detrending.bw.nrd0
(Default). qda_ews
produces three plots. The first plot
contains the original data, the detrending/filtering
applied and the residuals (if selected), autocorrelation
and variance. For each statistic trends are estimated by
the nonparametric Kendall tau correlation. The second
plot, returns a histogram of the distributions of the
Kendall trend statistic for autocorrelation and variance
estimated on the surrogated data. Vertical lines
represent the level of significance, whereas the black
dots the actual trend found in the time series. The third
plot is the reconstructed potential landscape in 2D. In
addition, the function returns a list containing the
output from the respective functions generic_RShiny
(indicators); surrogates_RShiny (trends);
movpotential_ews (potential analysis)
Arguments:
generic_ews
; ddjnonparam_ews
;
bdstest_ews
; sensitivity_ews
;
surrogates_ews
; ch_ews
;
movpotential_ews
;
livpotential_ews
;
data(foldbif)
out <- qda_ews(foldbif, param = NULL, winsize = 50, detrending='gaussian', bandwidth=NULL,
boots = 50, s_level = 0.05, cutoff=0.05, detection.threshold = 0.002, grid.size = 50,
logtransform=FALSE, interpolate=FALSE)
Run the code above in your browser using DataLab