Skip to content

`kMeansEqual` Assigns `k` cluster identifiers to a data frame `kdat` whereby each cluster is of (nearly) equal size.

Notifications You must be signed in to change notification settings

ludgergoeminne/kMeansEqual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kMeansEqual

kMeansEqual Assigns k cluster identifiers to a data frame kdat whereby each cluster is of (nearly) equal size.

Description

This function is based on a blog post post by Harrison Schramm and Carol DeZwarte. I have optimized their code for performance and put it into a function kMeansEqual.

Installation

This R package has a single function kMeansEqual and can be installed via:

library(devtools)
install_github("ludgergoeminne/kMeansEqual")

About

`kMeansEqual` Assigns `k` cluster identifiers to a data frame `kdat` whereby each cluster is of (nearly) equal size.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages