Other packages > Find by keyword >

NAC  

Network-Adjusted Covariates for Community Detection
View on CRAN: Click here


Download and install NAC package within the R console
Install from CRAN:
install.packages("NAC")

Install from Github:
library("remotes")
install_github("cran/NAC")

Install by package version:
library("remotes")
install_version("NAC", "0.1.0")



Attach the package and use:
library("NAC")
Maintained by
Yaofang Hu
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-12-04
Latest Update: 2023-12-04
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) . 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).
How to cite:
Yaofang Hu (2023). NAC: Network-Adjusted Covariates for Community Detection. R package version 0.1.0, https://cran.r-project.org/web/packages/NAC. Accessed 06 Aug. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited NAC R package
View NAC citation profile
Other R packages that NAC depends, imports, suggests or enhances
Complete documentation for NAC
Functions, R codes and Examples using the NAC R package
Full NAC package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA