sparsecommunity: Spectral Community Detection for Sparse Networks

Implements spectral clustering algorithms for community detection in sparse networks under the stochastic block model ('SBM') and degree-corrected stochastic block model ('DCSBM'), following the methods of Lei and Rinaldo (2015) <doi:10.1214/14-AOS1274>. Provides a regularized normalized Laplacian embedding, spherical k-median clustering for 'DCSBM', standard k-means for 'SBM', simulation utilities for both models, and a misclustering rate evaluation metric. Also includes the 'NCAA' college football network of Girvan and Newman (2002) <doi:10.1073/pnas.122653799> as a benchmark dataset, and the Bethe-Hessian community number estimator of Hwang (2023) <doi:10.1080/01621459.2023.2223793>.

Version: 0.1.1
Depends: R (≥ 4.0.0)
Imports: graphics, Matrix, methods, RSpectra, stats
Suggests: irlba, clue, igraph, igraphdata, testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-04-08
DOI: 10.32614/CRAN.package.sparsecommunity (may not be active yet)
Author: Neil Hwang ORCID iD [aut, cre]
Maintainer: Neil Hwang <neil.hwang at bcc.cuny.edu>
License: GPL-3
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: sparsecommunity results

Documentation:

Reference manual: sparsecommunity.html , sparsecommunity.pdf
Vignettes: Introduction to sparsecommunity (source, R code)

Downloads:

Package source: sparsecommunity_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): sparsecommunity_0.1.1.tgz, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sparsecommunity to link to this page.