# Gaussian density filter from Mapper paper
filterGauss <-
function(X,epsilon=1) {
dX <- as.matrix(dist(X))
x <- rowSums(exp(-(dX^2)/epsilon))
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.