R/custom_func.R
rdist.Rd
Equivalent of RandDist() in Insight Maker
rdist(a, b)
Vector to draw sample from
Vector of probabilities
One sample from custom distribution
rdist(c(1, 2, 3), c(.5, .25, .25)) #> [1] 1