R/size.S

"size" <- 
function(object)
{
	size <- rep(0, object$grid$nclass)
	names(size) <- 1:object$grid$nclass
	temp.size <- table(predict(object)[, 1])
	size[names(temp.size)] <- temp.size
	size
}
harrysouthworth/kohonen documentation built on May 17, 2019, 3:03 p.m.