The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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): sparsecommunity_0.1.1.tgz, r-oldrel (arm64): not available, r-release (x86_64): sparsecommunity_0.1.1.tgz, r-oldrel (x86_64): sparsecommunity_0.1.1.tgz

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.