Nothing
modes <-
function (y) {
test <- try(d <- density(y, bw = "nrd", adjust = 3, n = 1000), silent = TRUE)
if (!inherits(test, "try-error")) d$x[which.max(d$y)] else NA
}
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.