wrsk Robust (weighted) and sparse k-means clustering In order to run wrsk package devtools package must be installed, then do library('devtools') and install_github('brodsa/wrsk').