hsplot: Plots Pearson/Spearman/Kendall correlation against distance...

Description Usage Arguments Value

View source: R/methods_dcmatrix.R

Description

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

Usage

1
hsplot(dcmat, maxcomp = 1e+05, col = "blue", alpha = 1, cortrafo = "none")

Arguments

dcmat

A dcmatrix object.

maxcomp

Maximum number of associations, for which distance correlation is plotted against correlation. If the number of associations in the dcmat object is larger, only the maxcomp associations with the largest difference between distance correlation and absolute (Pearson/Spearman/Kendall) correlation are plotted.

col

color of the plot.

alpha

alpha parameter of the plot.

cortrafo

Either "none" or "gaussiandcor". If "gaussiandcor", the distance correlation under assumption of normality is calculated and plotted against the actual distance correlation.

Note that this is only sensible for Pearson correlation!

Value

Plot of (possibly transformed) Pearson/Spearman/Kendall correlation against distance correlation.


dcortools documentation built on July 9, 2021, 5:08 p.m.