KmeansInference
is an R
package for testing for a difference in means between clusters of observations identified via k-means clustering.
To download (and load) the KmeansInference package, use the code below.
require("devtools")
devtools::install_github("yiqunchen/KmeansInference")
library(KmeansInference)
Visit https://yiqunchen.github.io/KmeansInference/ for tutorials and examples. Please file an issue if you have a request for a tutorial that is not currently included.
If you use KmeansInference
for your analysis, please cite our manuscript:
Chen YT, Witten DM. (2022+) Selective inference for k-means clustering. arXiv preprint. https://arxiv.org/abs/2203.15267.
If you encounter a bug or would like to make a change request, please file it as an issue here.