Package: NAC
Type: Package
Title: Network-Adjusted Covariates for Community Detection
Version: 0.1.0
Author: Yaofang Hu [aut, cre],
  Wanjie Wang [aut]
Maintainer: Yaofang Hu <yaofangh@smu.edu>
Description: Incorporating node-level covariates for community detection has gained increasing attention these years. This package provides the function for implementing the novel community detection algorithm known as Network-Adjusted Covariates for Community Detection (NAC), which is designed to detect latent community structure in graphs with node-level information, i.e., covariates. This algorithm can handle models such as the degree-corrected stochastic block model (DCSBM) with covariates. NAC specifically addresses the discrepancy between the community structure inferred from the adjacency information and the community structure inferred from the covariates information. For more detailed information, please refer to the reference paper: Yaofang Hu and Wanjie Wang (2023) <arXiv:2306.15616>. In addition to NAC, this package includes several other existing community detection algorithms that are compared to NAC in the reference paper. These algorithms are Spectral Clustering On Ratios-of Eigenvectors (SCORE), network-based regularized spectral clustering (Net-based), covariate-based spectral clustering (Cov-based), covariate-assisted spectral clustering (CAclustering) and semidefinite programming (SDP). 
Imports: stats, pracma
License: GPL-2
Encoding: UTF-8
URL: https://arxiv.org/abs/2306.15616
Authors@R: c(person("Yaofang", "Hu", role=c("aut", "cre"), email = "yaofangh@smu.edu"),
             person("Wanjie", "Wang", role=c("aut"), email = "staww@nus.edu.sg"))
RoxygenNote: 7.2.3
Suggests: testthat, igraph
Depends: R (>= 4.2.2.0)
NeedsCompilation: no
Packaged: 2023-12-02 00:59:40 UTC; lu936
Repository: CRAN
Date/Publication: 2023-12-04 16:40:15 UTC
Built: R 4.6.0; ; 2026-04-25 20:41:56 UTC; unix
