Description Usage Arguments Value Author(s) References Examples
Given a degree sequence, computes the average and standard deviation of the disparities for the null corresponding to each degree.
1 | get_node_null_disparity(degrees)
|
degrees |
numeric; A numeric vector containing a node degree sequence. |
List with the following elements:
mu |
Numeric vector with the null average disparities for the given degrees. |
sd |
Numeric vector with the null standard deviation of disparities for the given degrees. |
Gregorio Alanis-Lobato galanisl@uni-mainz.de
Serrano, M. A. et al. (2009) Extracting the multiscale backbone of complex weighted networks. PNAS 106(16).
1 2 3 4 | # Compute the null disparities for the spectrum of node degrees of the
# included US Airports network
null_disp <- get_node_null_disparity(degrees = seq(from = 1,
to = max(degree(air)), by = 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.