Displaying 1 result from an estimated 1 matches for "svwebbuilder".
2007 Sep 04
2
Efficient sampling from a discrete distribution in R
Hello r-help,
As far as I've seen, there is no function in R dedicated to sampling
from a discrete distribution with a specified mass function. The
standard library doesn't come with anything called rdiscrete or rpmf,
and I can't find any such thing on the cheat sheet or in the
Probability Distributions chapter of _An Introduction to R_. Googling
also didn't bring back anything.