Nothing
DisttoKcent <- function(D) {
D <- as.matrix(D^2)
Pmat <- diag(ncol(D)) - (1/(ncol(D))) * tcrossprod(rep(1, ncol(D)))
Kcent <- -0.5 * (Pmat %*% (D) %*% Pmat)
rownames(Kcent) <- colnames(Kcent) <- rownames(D)
return(Kcent)
}
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.