Nothing
weighted.quantile.top <- function(dat, weights, p){
weights <- weights[order(dat)]
n <- length(weights)
dat <- sort(dat)
q <- sum(weights)*p
m<- w <-0
for (i in n : 1){
w <- w+weights[i]
if (w >= q) {m<- dat[i] ; break}
}
m
}
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.