Skip to content

RolWinMulCor

1.2.0

Subroutines to Estimate Rolling Window Multiple Correlation

0packages depend
2.4Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Josue M. Polanco-MartinezFirst published 2020-05-124 releasesCRAN page ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
6
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
50%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
89%

Downloads

2.4K
CRAN downloads in the past year
Rank #17,995 · ~7/day · ~203/mo
Daily download trend is not available in this view yet.
18030 days
65490 days
2.4K1 year
Compare downloads with other packages →
Also on96 r2u35 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (7)
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 1,444 (68%)Rd 690 (32%)
Code characteristics
Cyclomatic complexity
16.5 median / 24 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

6 0 exported

Complexity

16.8 avg / 24 max

Call network

6 nodes / 0 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Copyright holder, Maintainer
Authors (1)
Author, Copyright holder, Maintainer
Copyright holders (1)
Author, Copyright holder, Maintainer
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.2.0Latest
    2021-04-14 · current release · diff ↗
  • 1.0.0
    2020-08-31 · diff ↗
  • 0.4.0
    2020-05-22 · diff ↗
  • 0.1.0
    2020-05-12
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-05-12
Total releases
4 / 6 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
15 KB / 2 files
Download size
91 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →