WP {discoveR} | R Documentation |
Calculate intra-class inertia
Description
Calculate intra-class inertia
Usage
WP(DF, clusters)
Arguments
DF |
a data.frame object. |
clusters |
a vector specifying the cluster of each individual. |
Value
numeric
Author(s)
Diego Jimenez <diego.jimenez@promidat.com>
Examples
m <- hclust(dist(iris[, -5]))
WP(iris[, -5], cutree(m, 3))
[Package discoveR version 3.1.2 Index]