Nothing
vertexDegree <- function(g, deg=NULL){
if(class(g)[1]!="graphNEL"){
stop("'g' must be a 'graphNEL' object")
}
stopifnot(.validateGraph(g))
if(is.null(deg)){
deg <- graph::degree(g)
}
Nikv <- table(deg)
pis <- Nikv/numNodes(g)
return ((-1)*sum(pis*log2(pis)))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.