Nothing
weightf <- function(ehats, ahats, med) {
w = ahats/(ehats - med)
w[is.infinite(w)] <- 0
w[is.nan(w)] <- 0
w[w == 0] <- max(w)
list(w = w)
}
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.