Nothing
homoteneity <- function (comm,clustering)
{
clustering <- clustify(clustering)
levels <- levels(clustering)
clustering <- as.integer(clustering)
numtyp <- length(table(clustering))
homo <- rep(NA,numtyp)
S <- mean(apply(comm>0,1,sum))
const <- const(comm,clustering)
for (i in 1:numtyp) {
tmp <- as.numeric(rev(sort(const[,i])))
homo[i] <- mean(tmp[1:S])
}
out <- data.frame(as.character(1:numtyp),homo)
names(out) <- c('cluster','homoteneity')
attr(out,'call') <- match.call()
attr(out,'orig_clustering') <- levels
out
}
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.