README.md

Dynamic D3.js Based K-Means Clustering Visualizations in R

This package provides methods for dynamically visualizing k-means clustering data or any ordinal data and its associated clusters, though the original intention was to provide users with a more user friendly visualization tool for k-means clustering.

Development Version: 0.1.0 Travis build status

Installation

Use requires package htmlwidgets.

library(devtools)
install_github("ramnathv/htmlwidgets")
install_github("McKayMDavis/klustR")

Basic Usage

pcplot, a dynamic visualization of dimensionally reduced data:

scaled_df <- scale(state.x77)
clus <- kmeans(data_scaled, 5)$cluster
pcplot(data = data_scaled, clusters = clus)

Things to note:

pacoplot, a dynamic parallel coordinates plot:

df <- state.x77
clus <- kmeans(data_scaled, 5)$cluster
pacoplot(data = df, clusters = clus)

Things to note:

Visit website for more details.



Try the klustR package in your browser

Any scripts or data that you put into this service are public.

klustR documentation built on June 19, 2019, 5:03 p.m.