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 26 Jun. 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

poptrend  
Estimate Smooth and Linear Trends from Population Count Survey Data
Functions to estimate and plot smooth or linear population trends, or population indices, from anim ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
PoisBinOrdNor  
Data Generation with Poisson, Binary, Ordinal and Normal Components
Generation of multiple count, binary, ordinal and normal variables simultaneously given the marginal ...
Download / Learn more Package Citations See dependency  
infotheo  
Information-Theoretic Measures
Implements various measures of information theory based on several entropy estimators. ...
Download / Learn more Package Citations See dependency  
ggblanket  
Simplify 'ggplot2' Visualisation
Simplify 'ggplot2' visualisation with 'ggblanket' wrapper functions. ...
Download / Learn more Package Citations See dependency  
colormap  
Color Palettes using Colormaps Node Module
Allows to generate colors from palettes defined in the colormap module of 'Node.js'. (see ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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