perturbR

perturbR is a function that incrementally perturbs network edges and compares the resulting community detection solutions from the rewired networks with the solution found for the original network. These comparisons aid in understanding the stability of the original solution. The package requires symmetric, weighted (specifically, count) matrices/networks.

perturbR is freely available as an R package from CRAN. It can be directly installed from your R console. Documentation for is available here:

https://cran.r-project.org/web/packages/perturbR/perturbR.pdf

This is the corresponding paper to cite: 

Gates, K. M., Fisher, Z. F., Arizmendi, C., Henry, T. R., Duffy, K. A., & Mucha, P. J. (2019). Assessing the robustness of cluster solutions obtained from sparse count matrices. Psychological methods24(6), 675.