sbmNorm | R Documentation |
the norm is the minimal graphon distance between two stochastic block model parameters obtained with the best permutations of the parameters
sbmNorm(theta1, theta2)
theta1 |
a stochastic block model parameter |
theta2 |
a stochastic block model parameter |
(squared) norm between two stochastic block models
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.