Package: matrixCorr 0.12.2

Thiago de Paula Oliveira

matrixCorr: Collection of Correlation, Agreement, and Reliability Estimators

Compute correlation, association, agreement, and reliability measures for small to high-dimensional datasets through a consistent matrix-oriented interface. Supports classical correlations (Pearson, Spearman, Kendall, Chatterjee's rank correlation), distance correlation, partial correlation with regularised estimators, shrinkage correlation for p >= n settings, robust correlations including biweight mid-correlation, percentage-bend, Winsorized, and skipped correlation, latent-variable methods for binary and ordinal data, pairwise and overall intraclass correlation for wide data, repeated-measures correlation, and agreement/reliability analyses based on Cohen's kappa, weighted kappa, multi-rater kappa, Gwet's AC1/AC2, Krippendorff's alpha, Bland-Altman methods, Lin's concordance correlation coefficient, Poisson GLMM concordance for count data, and repeated-measures intraclass/concordance correlation. Implemented with optimized C++ backends using BLAS/OpenMP and memory-aware symmetric updates, and returns standard R objects with print/summary/plot methods plus optional Shiny viewers for matrix inspection. Methods based on Ledoit and Wolf (2004) <doi:10.1016/S0047-259X(03)00096-4>; high-dimensional shrinkage covariance estimation <doi:10.2202/1544-6115.1175>; Lin (1989) <doi:10.2307/2532051>; Wilcox (1994) <doi:10.1007/BF02294395>; Wilcox (2004) <doi:10.1080/0266476032000148821>; Hayes and Krippendorff (2007) <doi:10.1080/19312450709336664>; weighted repeated-measures correlation by Kondo et al. (2025) <doi:10.1002/sim.70046>.

Authors:Thiago de Paula Oliveira [aut, cre]

matrixCorr_0.12.2.tar.gz
matrixCorr_0.12.2.zip(r-4.7)matrixCorr_0.12.2.zip(r-4.6)matrixCorr_0.12.2.zip(r-4.5)
matrixCorr_0.12.2.tgz(r-4.6-x86_64)matrixCorr_0.12.2.tgz(r-4.6-arm64)matrixCorr_0.12.2.tgz(r-4.5-x86_64)matrixCorr_0.12.2.tgz(r-4.5-arm64)
matrixCorr_0.12.2.tar.gz(r-4.7-arm64)matrixCorr_0.12.2.tar.gz(r-4.7-x86_64)matrixCorr_0.12.2.tar.gz(r-4.6-arm64)matrixCorr_0.12.2.tar.gz(r-4.6-x86_64)
matrixCorr_0.12.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
matrixCorr/json (API)

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

Bug tracker:https://github.com/prof-thiagooliveira/matrixcorr/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

agreementconcordancecorrelationcorrelation-analysiscorrelation-coefficientcppdistance-measuresintraclass-correlationopenblascppopenmp

6.29 score 2 stars 13 scripts 178 downloads 50 exports 22 dependencies

Last updated from:7eff9dd62e. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK415
linux-devel-x86_64OK455
source / vignettesOK487
linux-release-arm64OK407
linux-release-x86_64OK346
macos-release-arm64OK325
macos-release-x86_64OK732
macos-oldrel-arm64OK373
macos-oldrel-x86_64OK564
windows-develOK584
windows-releaseOK496
windows-oldrelOK461
wasm-releaseOK218

Exports:baba_rmbicorbiserialbiweight_mid_corrbland_altmanbland_altman_repeatedcccccc_glmmccc_lmm_remlccc_pairwise_u_statccc_rm_remlccc_rm_ustatciciacia_rmcohen_kappadcordiag.bicordistance_correstimategwet_achsiciccicc_rm_remlkendall_taukrippendorff_alphamultirater_kappapartial_correlationpbcorpcorrpearson_corrpolychoricpolyserialprob_agreermcorrrmcorr_weightedrobust_dcorschafer_corrshrinkage_corrskipped_corrskipped_corr_masksspearman_rhotetrachorictidyview_corr_shinyview_rmcorr_shinyweighted_kappawincorxi_corr

Dependencies:clicpp11farvergenericsggplot2gluegtableisobandlabelinglatticelifecycleMatrixR6RColorBrewerRcppRcppArmadillorlangS7scalesvctrsviridisLitewithr

Introduction to matrixCorr

Rendered fromv01-matrixCorr-introduction.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2026-05-21
Started: 2026-04-11

Wide Correlation Workflows

Rendered fromv02-wide-correlation-workflows.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2026-05-21
Started: 2026-04-11

Robust and High-Dimensional Correlation

Rendered fromv03-robust-and-highdim-correlation.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2026-05-21
Started: 2026-04-11

Latent and Mixed-Scale Correlation

Rendered fromv04-latent-and-mixed-scale-correlation.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2026-05-21
Started: 2026-04-11

Agreement and ICC for Wide Data

Rendered fromv05-agreement-and-icc-wide.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2026-05-21
Started: 2026-04-11

Repeated-Measures Workflows

Rendered fromv06-repeated-measures-workflows.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2026-05-21
Started: 2026-04-11

Readme and manuals

Help Manual

Help pageTopics
Summary Accessor for Correlation Summaries[[.summary.corr_result
Summary Accessor for Correlation Summaries$.summary.corr_result
Edge-list data-frame viewas.data.frame.corr_edge_list
Bland-Altman statistics with confidence intervalsba plot.ba plot.ba_matrix print.ba print.ba_matrix print.summary.ba print.summary.ba_matrix summary.ba summary.ba_matrix
Bland-Altman for repeated measurementsba_rm plot.ba_repeated plot.ba_repeated_matrix print.ba_repeated print.ba_repeated_matrix
Biweight mid-correlation (bicor)bicor diag.bicor plot.bicor print.bicor print.summary.bicor summary.bicor
Biserial Correlation Between Continuous and Binary Variablesbiserial plot.biserial_corr print.biserial_corr print.summary.biserial_corr summary.biserial_corr
Pairwise Lin's concordance correlation coefficientccc plot.ccc print.ccc print.summary.ccc summary.ccc
Poisson GLMM concordance correlation for count agreementccc_glmm
Concordance Correlation via REML (Linear Mixed-Effects Model)ccc_rm_reml
Repeated-Measures Lin's Concordance Correlation Coefficient (CCC)ccc_rm_ustat
Coefficient of Individual Agreementcia plot.cia print.cia print.cia_ci print.summary.cia summary.cia
Repeated-Measures Coefficient of Individual Agreementcia_rm plot.cia_rm print.cia_rm print.summary.cia_rm summary.cia_rm
Pairwise Cohen's Kappa for Nominal Ratingscohen_kappa plot.cohen_kappa print.cohen_kappa print.summary.cohen_kappa summary.cohen_kappa
Pairwise Distance Correlation (dCor)dcor plot.dcor print.dcor print.summary.dcor summary.dcor
Deprecated Compatibility Wrappersbiweight_mid_corr bland_altman bland_altman_repeated ccc_lmm_reml ccc_pairwise_u_stat deprecated-matrixCorr distance_corr partial_correlation
Access MatrixCorr Estimates, Confidence Intervals, and Tidy Resultsci ci.ba ci.ba_matrix ci.ba_repeated ci.ba_repeated_matrix ci.ccc ci.ccc_ci ci.ccc_glmm ci.cia ci.cia_ci ci.cia_rm ci.cohen_kappa ci.corr_result ci.default ci.gwet_ac ci.icc ci.icc_overall ci.icc_rm_reml ci.krippendorff_alpha ci.multirater_kappa ci.partial_corr ci.prob_agree ci.rmcorr ci.rmcorr_matrix ci.weighted_kappa coef.ccc_glmm coef.corr_result confint.ba confint.ba_matrix confint.ba_repeated confint.ba_repeated_matrix confint.ccc confint.ccc_ci confint.ccc_glmm confint.chatterjee_xi_scalar confint.cia confint.cia_ci confint.cia_rm confint.cohen_kappa confint.corr_result confint.gwet_ac confint.icc confint.icc_overall confint.icc_rm_reml confint.krippendorff_alpha confint.multirater_kappa confint.partial_corr confint.prob_agree confint.rmcorr confint.rmcorr_matrix confint.summary.corr_result confint.summary.matrixCorr confint.weighted_kappa estimate estimate.ba estimate.ba_matrix estimate.ba_repeated estimate.ba_repeated_matrix estimate.ccc_glmm estimate.corr_result estimate.default estimate.partial_corr estimate.summary.corr_result estimate.summary.matrixCorr tidy tidy.ba tidy.ba_matrix tidy.ba_repeated tidy.ba_repeated_matrix tidy.corr_result tidy.default tidy.partial_corr tidy.summary.corr_result tidy.summary.matrixCorr
Gwet's AC1 and AC2 Agreement Coefficientsgwet_ac plot.gwet_ac print.gwet_ac print.summary.gwet_ac summary.gwet_ac
Pairwise Hilbert-Schmidt Independence Criterionhsic plot.hsic print.hsic print.summary.hsic summary.hsic
Intraclass Correlation for Wide Dataicc print.icc print.icc_overall print.summary.icc print.summary.icc_overall summary.icc summary.icc_overall
Repeated-Measures Intraclass Correlation via REMLicc_rm_reml print.icc_rm_reml print.summary.icc_rm_reml summary.icc_rm_reml
Pairwise (or Two-Vector) Kendall's Tau Rank Correlationkendall_tau plot.kendall_matrix print.kendall_matrix print.summary.kendall_matrix summary.kendall_matrix
Krippendorff's Alpha Reliability Coefficientkrippendorff_alpha plot.krippendorff_alpha print.krippendorff_alpha print.summary.krippendorff_alpha summary.krippendorff_alpha
Multi-Rater Kappa for Nominal Ratingsmultirater_kappa plot.multirater_kappa print.multirater_kappa print.summary.multirater_kappa summary.multirater_kappa
Percentage bend correlationpbcor plot.pbcor print.pbcor print.summary.pbcor summary.pbcor
Partial correlation matrix (sample / ridge / OAS / graphical lasso)pcorr plot.partial_corr print.partial_corr print.summary.partial_corr summary.partial_corr
Pairwise Pearson correlationpearson_corr plot.pearson_corr print.pearson_corr print.summary.pearson_corr summary.pearson_corr
S3 Plot for Edge-List Correlation Resultsplot.corr_edge_list
S3 Plot for Dense Correlation Resultsplot.corr_matrix
S3 Plot for Sparse Correlation Resultsplot.corr_sparse
Plot probability-of-agreement resultsplot.prob_agree
Pairwise Polychoric Correlationplot.polychoric_corr polychoric print.polychoric_corr print.summary.polychoric_corr summary.polychoric_corr
Polyserial Correlation Between Continuous and Ordinal Variablesplot.polyserial_corr polyserial print.polyserial_corr print.summary.polyserial_corr summary.polyserial_corr
S3 print for legacy class 'ccc_ci'print.ccc_ci
Print Edge-List Correlation Resultsprint.corr_edge_list
Print method for matrixCorr CCC objectsprint.matrixCorr_ccc
Print method for matrixCorr CCC objects with CIsprint.matrixCorr_ccc_ci
Methods for Pairwise rmcorr Objectsplot.rmcorr print.rmcorr print.summary.rmcorr summary.rmcorr
Methods for rmcorr Matrix Objectsplot.rmcorr_matrix print.rmcorr_matrix print.summary.rmcorr_matrix summary.rmcorr_matrix
Print Standardized Correlation Summariesprint.summary.corr_result
Summary Method for Latent Correlation Matricesprint.summary.latent_corr
Summary Method for Correlation Matricesprint.summary.matrixCorr
Probability of Agreement for Reliability Curvesprob_agree
Repeated-Measures Correlation (rmcorr)rmcorr rmcorr_weighted
Robust Distance Correlationplot.robust_dcor print.robust_dcor robust_dcor summary.robust_dcor
Shrinkage Correlationplot.schafer_corr plot.shrinkage_corr print.schafer_corr print.shrinkage_corr schafer_corr shrinkage_corr summary.schafer_corr summary.shrinkage_corr
Pairwise skipped correlationplot.skipped_corr print.skipped_corr print.summary.skipped_corr skipped_corr skipped_corr_masks summary.skipped_corr
Pairwise Spearman's rank correlationplot.spearman_rho print.spearman_rho print.summary.spearman_rho spearman_rho summary.spearman_rho
Summary Method for 'ccc_rm_reml' Objectsprint.summary.ccc_rm_reml summary.ccc_rm_reml
S3 Summary for Edge-List Correlation Resultssummary.corr_edge_list
S3 Summary for Dense Correlation Resultssummary.corr_matrix
S3 Summary for Sparse Correlation Resultssummary.corr_sparse
Pairwise Tetrachoric Correlationplot.tetrachoric_corr print.summary.tetrachoric_corr print.tetrachoric_corr summary.tetrachoric_corr tetrachoric
Interactive Shiny viewer for matrixCorr objectsview_corr_shiny
Interactive Shiny Viewer for Repeated-Measures Correlationview_rmcorr_shiny
Pairwise Weighted Cohen's Kappa for Ordered Ratingsprint.weighted_kappa weighted_kappa
Pairwise Winsorized correlationplot.wincor print.summary.wincor print.wincor summary.wincor wincor
Pairwise Chatterjee Rank Correlationprint.chatterjee_xi print.chatterjee_xi_scalar print.summary.chatterjee_xi_scalar summary.chatterjee_xi_scalar xi_corr