Learn R Programming

⚠️There's a newer version (1.2.0) of this package.Take me there.

RolWinMulCor (version 0.4.0)

Subroutines to Estimate Rolling Window Multiple Correlation

Description

Rolling Window Multiple Correlation ('RolWinMulCor') estimates the rolling (running) window correlation for the bi- and multi-variate cases between regular (sampled on identical time points) time series, with especial emphasis to environmental data (although this can be applied to other kinds of data sets). 'RolWinMulCor' is based on the concept of rolling or running window and is useful to evaluate the evolution of correlation through time and time-scales. 'RolWinMulCor' contains four functions: (1) the first two functions are focus on the bi-variate case, one of them produces a simple plot of correlation coefficients and p-values (<=0.05) for only one window-length (time-scale), and the other function produces a heat map for the statistically significant (p-values <=0.05) correlation coefficients taking into account all the possible window-lengths (which are determined by the number of elements of the time series under analysis) or for a band of window-lengths; (2) the second two functions are designed to analyse the multi-variate case and follow the bi-variate case to display visually the results although these two methods are different. The four functions contained in 'RolWinMulCor' are highly flexible since this contains a great number of parameters to control the estimation of correlation and the features of the plot output, e.g. to remove the (linear) trend contained in the time series under analysis, to choose different p-value correction methods (which are used to address the multiple comparison problem) or to personalise the plot output (e.g. this can be displayed in the screen or can be saved as PNG, JPEG, EPS or PDF formats). The 'RolWinMulCor' package also provides examples with synthetic and real environmental time series to exemplify its use. Methods derived from H. Abdi. (2007) , J. M. Polanco-Martinez (2019) , and R. Telford (2013) .

Copy Link

Version

Install

install.packages('RolWinMulCor')

Monthly Downloads

220

Version

0.4.0

License

GPL (>= 2)

Maintainer

Josue Polanco-Martinez

Last Published

May 22nd, 2020

Functions in RolWinMulCor (0.4.0)

rolwincor_1win

Estimate and plot the Rolling Window Correlation for the bi-variate case
rolwincor_heatmap

Estimate the Rolling Window Correlation for the bi-variate case and plot the results as a heat map
rolwinmulcor_heatmap

Estimate the Rolling Window Correlation for the multi-variate case and plot the results as a heat map.
synthetic_data

Synthetic data set to test the functions of RolWinMulCor.
RolWinMulCor-package

Estimate the Rolling Window Multiple Correlation
YX_ecological_data

Ecological data set to test the functions of RolWinMulCor.
rolwinmulcor_1win

Estimate and plot the Rolling Window Correlation for the multi-variate case