Other packages > Find by keyword >

rSpectral  

Spectral Modularity Clustering
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("rSpectral", "1.0.0.10")



Attach the package and use:
library("rSpectral")
Maintained by
Anatoly Sorokin
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-08-19
Latest Update: 2023-01-18
Description:
Implements the network clustering algorithm described in Newman (2006) <doi:10.1103/PhysRevE.74.036104>. The complete iterative algorithm comprises of two steps. In the first step, the network is expressed in terms of its leading eigenvalue and eigenvector and recursively partition into two communities. Partitioning occurs if the maximum positive eigenvalue is greater than the tolerance (10e-5) for the current partition, and if it results in a positive contribution to the Modularity. Given an initial separation using the leading eigen step, 'rSpectral' then continues to maximise for the change in Modularity using a fine-tuning step - or variate thereof. The first stage here is to find the node which, when moved from one community to another, gives the maximum change in Modularity. This node’s community is then fixed and we repeat the process until all nodes have been moved. The whole process is repeated from this new state until the change in the Modularity, between the new and old state, is less than the predefined tolerance. A slight variant of the fine-tuning step, which can improve speed of the calculation, is also provided. Instead of moving each node into each community in turn, we only consider moves of neighbouring nodes, found in different communities, to the community of the current node of interest. The two steps process is repeatedly applied to each new community found, subdivided each community into two new communities, until we are unable to find any division that results in a positive change in Modularity.
How to cite:
Anatoly Sorokin (2022). rSpectral: Spectral Modularity Clustering. R package version 1.0.0.10, https://cran.r-project.org/web/packages/rSpectral
Previous versions and publish date:
1.0.0.9 (2022-08-19 14:20)
Other packages that cited rSpectral R package
View rSpectral citation profile
Other R packages that rSpectral depends, imports, suggests or enhances
Functions, R codes and Examples using the rSpectral R package
Some associated functions: rSpectral . spectral_graphNEL . spectral_igraph_communities . spectral_igraph_membership . 
Some associated R codes: RcppExports.R . graphNEL.R . igraph.R . rSpectral-package.R .  Full rSpectral package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

buildr  
Organize & Run Build Scripts Comfortably
Working with reproducible reports or any other similar projects often require to run the script that ...
Download / Learn more Package Citations See dependency  
bulletr  
Algorithms for Matching Bullet Lands
Analyze bullet lands using nonparametric methods. We provide a reading routine for x3p files (see &l ...
Download / Learn more Package Citations See dependency  
lgarch  
Simulation and Estimation of Log-GARCH Models
Simulation and estimation of univariate and multivariate log-GARCH models. The main functions of the ...
Download / Learn more Package Citations See dependency  
Deriv  
Symbolic Differentiation
R-based solution for symbolic differentiation. It admits user-defined function as well as function s ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

22,086

R Packages

187,731

Dependencies

55,244

Author Associations

22,087

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net. Contact Us / Suggestions / Concerns