Nothing
r.med <-
function(x, weight, k){
n <- length(x)
if (is.null(weight)) weight <- rep(1, n)
rhow <- k*weighted.median(x, weight)
gap <- sum(sapply(1:n, function(i){
max(x[i] - rhow, 0)*weight[i]}))/sum(weight)
return(gap)
}
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.