Package: RolWinMulCor 1.2.0

RolWinMulCor: Subroutines to Estimate Rolling Window Multiple Correlation

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 ecological data although this can be applied to other kinds of data sets. 'RolWinMulCor' is based on the concept of rolling, running or sliding window and is useful to evaluate the evolution of correlation through time and time-scales. 'RolWinMulCor' contains six functions. The first two focus on the bi-variate case: (1) rolwincor_1win() and (2) rolwincor_heatmap(), which estimate the correlation coefficients and the their respective p-values for only one window-length (time-scale) and considering all possible window-lengths or a band of window-lengths, respectively. The second two functions: (3) rolwinmulcor_1win() and (4) rolwinmulcor_heatmap() are designed to analyze the multi-variate case, following the bi-variate case to visually display the results, but these two approaches are methodologically different. That is, the multi-variate case estimates the adjusted coefficients of determination instead of the correlation coefficients. The last two functions: (5) plot_1win() and (6) plot_heatmap() are used to represent graphically the outputs of the four aforementioned functions as simple plots or as heat maps. The functions contained in 'RolWinMulCor' are highly flexible since these contains several 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 outputs. The 'RolWinMulCor' package also provides examples with synthetic and real-life ecological time series to exemplify its use. Methods derived from H. Abdi. (2007) <https://personal.utdallas.edu/~herve/Abdi-MCC2007-pretty.pdf>, R. Telford (2013) <https://quantpalaeo.wordpress.com/2013/01/04/, J. M. Polanco-Martinez (2019) <doi:10.1007/s11071-019-04974-y>, and J. M. Polanco-Martinez (2020) <doi:10.1016/j.ecoinf.2020.101163>.

Authors:Josue M. Polanco-Martinez [aut, cph, cre]

RolWinMulCor_1.2.0.tar.gz
RolWinMulCor_1.2.0.zip(r-4.5)RolWinMulCor_1.2.0.zip(r-4.4)RolWinMulCor_1.2.0.zip(r-4.3)
RolWinMulCor_1.2.0.tgz(r-4.4-any)RolWinMulCor_1.2.0.tgz(r-4.3-any)
RolWinMulCor_1.2.0.tar.gz(r-4.5-noble)RolWinMulCor_1.2.0.tar.gz(r-4.4-noble)
RolWinMulCor_1.2.0.tgz(r-4.4-emscripten)RolWinMulCor_1.2.0.tgz(r-4.3-emscripten)
RolWinMulCor.pdf |RolWinMulCor.html
RolWinMulCor/json (API)

# Install 'RolWinMulCor' in R:
install.packages('RolWinMulCor', repos = c('https://jomopo.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • YX_ecological_data - Ecological data set to test the functions of _RolWinMulCor_
  • syntDATA - Synthetic data set to test the functions of _RolWinMulCor_

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

6 exports 1 stars 0.09 score 16 dependencies 280 downloads

Last updated 3 years agofrom:0c847ea531. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 21 2024
R-4.5-winOKAug 21 2024
R-4.5-linuxOKAug 21 2024
R-4.4-winOKAug 21 2024
R-4.4-macOKAug 21 2024
R-4.3-winOKAug 21 2024
R-4.3-macOKAug 21 2024

Exports:plot_1winplot_heatmaprolwincor_1winrolwincor_heatmaprolwinmulcor_1winrolwinmulcor_heatmap

Dependencies:clicolorspacefarvergluegtoolslabelinglatticelifecyclemunsellpracmaR6RColorBrewerrlangscalesviridisLitezoo