hsplot {dcortools} | R Documentation |
Plots Pearson/Spearman/Kendall correlation against distance correlation (often resembling a horseshoe(hs)).
Description
Plots Pearson/Spearman/Kendall correlation against distance correlation (often resembling a horseshoe(hs)).
Usage
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.