Package: sparsecommunity Title: Spectral Community Detection for Sparse Networks Version: 0.1.1 Authors@R: person("Neil", "Hwang", role = c("aut", "cre"), email = "neil.hwang@bcc.cuny.edu", comment = c(ORCID = "0000-0002-5175-9397")) Description: 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) . 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) as a benchmark dataset, and the Bethe-Hessian community number estimator of Hwang (2023) . License: GPL-3 Encoding: UTF-8 Language: en-US LazyData: true RoxygenNote: 7.2.3 Depends: R (>= 4.0.0) Imports: graphics, Matrix, methods, RSpectra, stats Suggests: irlba, clue, igraph, igraphdata, testthat (>= 3.0.0), knitr, rmarkdown Config/testthat/edition: 3 VignetteBuilder: knitr NeedsCompilation: no Packaged: 2026-10-06 09:52:07 UTC; root Author: Neil Hwang [aut, cre] (ORCID: ) Maintainer: Neil Hwang Repository: https://neil-sps.r-universe.dev Date/Publication: 2026-04-08 15:51:46 UTC RemoteUrl: https://github.com/cran/sparsecommunity RemoteRef: HEAD RemoteSha: 8c100c579a6138f61057bb67ef3a21aa4d125c15