Description Usage Arguments Details Value Author(s) References See Also Examples
graphCorr
computes the dissimilarity matrix (one minus the correlation
matrix) of a graph structure.
1 
A 

nodesDegree 
vector with nodes degree (in case it is been previously calculated). 
The similarity matrix of a graph is given by
σ_{ij} = \frac{η_{ij}}{√{k_ik_j}},
where η_{ij} is defined by the number of common neighbors of nodes i and j and k_i is the degree of the node i. The dissimilarity matrix is given by
δ_{ij} = 1 σ_{ij}.
a dissimilarity lower triangular matrix with one minus the correlation of the graph nodes.
Caballe, Adria <[email protected]>, Natalia Bochkina and Claus Mayer.
Costa, L. and F. Rodrigues (2007). Characterization of complex networks: A survey of measurements. Advances in Physics 56(1), 167242.
graphDist
for inverse of the geodesic distance matrix.
1 2 3 4 5 6 7 8  # example to use of graphCorr function
EX1 < pcorSimulator(nobs = 50, nclusters = 2, nnodesxcluster = c(40,30),
pattern = "powerLaw")
y < EX1$y
out3 < huge(y, method = "mb", lambda = 0.4)
gc < graphCorr(out3$path[[1]])

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.