DiscreteDistribution(x, prob, replace = TRUE)
vector of one or more integers from which to choose
a vector of probability weights for obtaining the elements of the vector being sampled
should sampling be with replacement, default is TRUE
a discrete distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.