nd.graphon {NetworkDistance} | R Documentation |
Graphon Estimates Distance
Description
Graphon is a symmetric measurable function
W:[0,1]^2\rightarrow[0,1]
that is considered to be a generating model for an observed network. nd.graphon
computes
distances between networks based on the estimated graphons of each network. Estimation methods
are taken from graphon package. For more details, see the function links below.
Usage
nd.graphon(
A,
out.dist = TRUE,
method = c("completion", "LG", "nbdsmooth", "SBA", "USVT"),
...
)
Arguments
A |
a list of length |
out.dist |
a logical; |
method |
type of graphon estimation methods to be used. |
... |
extra parameters to be passed onto graphon estimation functions. See also |
Value
a named list containing
- D
an
(N\times N)
matrix ordist
object containing pairwise distance measures.
References
Mukherjee SS, Sarkar P, Lin L (2017). “On clustering network-valued data.” In Guyon I, Luxburg UV, Bengio S, Wallach H, Fergus R, Vishwanathan S, Garnett R (eds.), Advances in neural information processing systems 30, 7071–7081. Curran Associates, Inc.
Examples
## load example data
data(graph20)
## compute USVT-based distance
output <- nd.graphon(graph20, out.dist=FALSE, method="usvt")
## visualize
opar = par(no.readonly=TRUE)
par(pty="s")
image(output$D[,20:1], main="USVT", col=gray(0:32/32), axes=FALSE)
par(opar)