sbmNorm {graphclust} | R Documentation |
(squared) norm between two stochastic block models
Description
the norm is the minimal graphon distance between two stochastic block model parameters obtained with the best permutations of the parameters
Usage
sbmNorm(theta1, theta2)
Arguments
theta1 |
a stochastic block model parameter |
theta2 |
a stochastic block model parameter |
Value
(squared) norm between two stochastic block models
Examples
theta1 <- list(pi=c(.5,.5), gamma=matrix((1:4)/8,2,2))
theta2 <- list(pi=c(.5,.5), gamma=matrix(4:1/8,2,2))
theta3 <- list(pi=c(.5,.5), gamma=matrix(1:4/4,2,2))
sbmNorm(theta1, theta2)
sbmNorm(theta1, theta3)
sbmNorm(theta2, theta3)
[Package graphclust version 1.3 Index]