Nothing
shannon <- function (vect,base=2){
vect <- as.numeric (vect)
if (all (vect <= 0)) return (c(H=NA, J=NA))
vect <- vect/sum(vect)
vect <- vect * log(vect, base)
h <- sum(vect[is.finite(vect)])
hmax <- log(1/length(vect), base)
res<-c(H = -h, J = h/hmax)
attributes(res)$baseLog<-base
res
}
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.