WP | R Documentation |
Calculate intra-class inertia
WP(DF, clusters)
DF |
a data.frame object. |
clusters |
a vector specifying the cluster of each individual. |
numeric
Diego Jimenez <diego.jimenez@promidat.com>
m <- hclust(dist(iris[, -5])) WP(iris[, -5], cutree(m, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.