To be used as argument of irv

irv_val(val, prob)

Details

See vignette for examples