Nothing
massBarycenter <- function (vertices) {
tc <- delaunayn(vertices, options = "Pp")
pmul <- cbind(-1, diag(rep(1, ncol(vertices))))
vb <- apply(tc, 1, function(v) {
simplex <- vertices[v, ]
vol <- abs(det(pmul %*% simplex))
bary <- colMeans(simplex)
c(vol, vol * bary)
})
resu <- rowSums(vb[-1, ])/sum(vb[1, ])
return(resu)
}
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.