Learn R Programming

dcortools R package #################### by Dominic Edelmann (dominic.edelmann@dkfz-heidelberg.de) and Jochen Fiedler

This package provides functionalities for calculating association measures and dependence tests based on distance covariance and distance correlation.

Copy Link

Version

Install

install.packages('dcortools')

Monthly Downloads

229

Version

0.1.7

License

GPL-3

Maintainer

Dominic Edelmann

Last Published

December 9th, 2025

Functions in dcortools (0.1.7)

distcor

Calculates the distance correlation szekely2007,szekely2009browniandcortools.
distcov.test

Performs a distance covariance test.
hsplot

Plots Pearson/Spearman/Kendall correlation against distance correlation (often resembling a horseshoe(hs)).
distsd

Calculates the distance standard deviation edelmann2017distancedcortools.
dcorgaussianbiv

Calculates distance correlation from Pearson correlation under assumption of a bivariate normal distribution
extract_np

Extract the dimensions of X.
ipcw.dcor

Calculates an inverse-probability-of-censoring weighted (IPCW) distance correlation based on IPCW U-statistics datta2010inversedcortools.
dcsis

Performs distance correlation sure independence screening li2012featuredcortools with some additional options (such as calculating corresponding tests).
dcmatrix

Calculates distance covariance and distance correlation matrices
distcov

Calculates the distance covariance szekely2007,szekely2009browniandcortools.
plot.dcmatrix

Plots a heatmap from a dcmatrix object using the function "pheatmap" from the package "pheatmap".
ipcw.dcov

Calculates an inverse-probability-of-censoring weighted (IPCW) distance covariance based on IPCW U-statistics datta2010inversedcortools.
ipcw.dcov.test

Performs a permutation test based on the IPCW distance covariance.