Nothing
vorob_threshold <- function(pn){
if(is.null(pn)) {return(0.5)}
M <- length(pn)
integ.pn <- mean(pn)
pn.sort <- sort(pn)
index <- (1-integ.pn)*M
index.floor <- floor(index)
index.cap <- min(M,index.floor+1)
wbig <- index - index.floor
wsmall <- 1- wbig
alpha <- pn.sort[index.floor]*wsmall + pn.sort[index.cap]*wbig
return(alpha)
}
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.