Description Usage Arguments Value Examples
Network Flow Distance
1 2 3 4 5 6 |
A |
a list of length N containing adjacency matrices. |
order |
the order of Laplacian; currently only 0 and 1 are supported. |
out.dist |
a logical; |
vect |
a vector of parameters t whose values will be used. |
a named list containing
an (N\times N) matrix or dist
object containing pairwise distance measures.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
## load example data
data(graph20)
# compute two diffusion-based distances and visualize
out1 = nd.gdd(graph20, out.dist=FALSE)
out2 = nd.nfd(graph20, out.dist=FALSE)
# visualize
opar <- par(no.readonly=TRUE)
par(mfrow=c(1,2), pty="s")
image(out1$D[,20:1],col=gray((0:32)/32), main="nd.gdd",axes=FALSE)
image(out2$D[,20:1],col=gray((0:32)/32), main="nd.nfd",axes=FALSE)
par(opar)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.