cor_hcl | R Documentation |
Perform hierarchical cluster analysis based on correlation.
cor_hcl(
mat,
cutoff = 0.75,
use = "pairwise.complete.obs",
method = "pearson",
fig_title = "Cluster Dendrogram",
size = 3,
rotate = FALSE
)
mat |
a data matrix |
cutoff |
a threshold for correlation analysis. |
use |
a string giving a method for computing covariances. For details,
see |
method |
method for correlation |
fig_title |
title for plotting |
size |
text font size of |
rotate |
a logical indicating whether to rotate plot. |
a list of a ggplot2
object for clustering and a list of
cluster centres.
cor_hcl(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.