predictKmeans: predict method for Kmeans

Description Usage Arguments Details Value Author(s)

View source: R/predictkmeans.R

Description

builds a bunch of cluster models to find the optimum number of clusters

Usage

1
predictKmeans(fit, newdata, verbose = FALSE)

Arguments

fit

kmeans model

newdata

data frame with new data to assign clusters to

verbose

print debugging output

Details

cluster reported back as a factor in the output data frame

Value

a data frame of ss errors per cluster, cluster classification and totalSSE

Author(s)

Matthew Davis


mdavis29/modelToolKit documentation built on May 22, 2019, 3:22 p.m.