misClustRate {epca} | R Documentation |
Mis-Classification Rate (MCR)
Description
Compute the empirical MCR, assuming that #cluster = #block, This calculation allows a permutation on clusters.
Usage
misClustRate(cluster, truth)
Arguments
cluster |
vector of |
truth |
a vector of the same length as |
Value
numeric
, the MCR.
Examples
truth = rep(1:3, each = 30)
cluster = rep(3:1, times = c(25, 32, 33))
misClustRate(cluster, truth)
[Package epca version 1.1.0 Index]