Skip to content

philipmgoddard/kclust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

k-means clustering

Simple k-means clustering. Usage is:

data(iris)

# cluster based on petal length and petal width
clust <- kMeans(iris[, 3:4], nCentroids = 3)

I havent bothered making this into a package, as there is a fine kmeans() function in the stats package which is no doubt waaaay better than this. This is for education purposes only!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages