Rnhm | R Documentation |
This function creates a sparse row-normalized hyperlink matrix.
Rnhm(A)
A |
network adjacency |
This function creates a sparse row-normalized hyperlink matrix, defined in more detail in [1].
row-normalized hyperlink matrix
[1] Langville AN, Meyer CD (2006). "Google's PageRank and Beyond: The Science of Search Engine Rankings." Princeton University Press, Princeton.
# Generate an arbitrary 100 by 100 adjacency matrix with zeros and ones # Remove loops A <- matrix(rbinom(100 * 100, 1, 0.2), ncol = 100, nrow = 100) diag(A) <- 0 # Calculate a row-normalized hyperlink matrix Rnhm(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.