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
Other custom: contains_IM(), expit(), indexof(), length_IM(), logistic(), logit(), rbool(), rem(), round_IM()
contains_IM()
expit()
indexof()
length_IM()
logistic()
logit()
rbool()
rem()
round_IM()
rdist(c(1, 2, 3), c(.5, .25, .25)) #> [1] 1