View source: R/plot.hclustvar.R
plot.hclustvar | R Documentation |
Dendrogram of the hierarchy of variables resulting from hclustvar
and aggregation levels plot.
## S3 method for class 'hclustvar'
plot(x, type = "tree", sub = "", ...)
x |
an object of class |
type |
if type="tree" plot of the dendrogram and if type="index" aggregation levels plot. |
sub |
a sub title for the plot. |
... |
further arguments passed to or from other methods. |
hclustvar
data(wine)
X.quanti <- PCAmixdata::splitmix(wine)$X.quanti
X.quali <- PCAmixdata::splitmix(wine)$X.quali
tree <- hclustvar(X.quanti,X.quali)
plot(tree)
#Aggregation levels plot
plot(tree,type="index")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.