Nothing
# MsdeParEst R package ; file discr.r (last modified: 2017-09-15)
# Authors: M. Delattre, C. Dion
# Copyright INRA 2017
discr <- function(x, p) {
cp <- cumsum(p)
U <- runif(1, 0, max(cp))
x[which(cp >= U)[1]]
}
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.