| rdist | R Documentation |
Equivalent of RandDist() in Insight Maker
rdist(a, b)
a |
Vector to draw sample from |
b |
Vector of probabilities |
One sample from custom distribution
rdist(c(1, 2, 3), c(.5, .25, .25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.