View source: R/methods_dcmatrix.R

hsplot | R Documentation |

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

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

`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! |

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.