rbinom_size.Rd
Samples size (the number of trials) of a binomial distribution copied from https://github.com/sbfnk/bpmodels/blob/master/R/utils.r
rbinom_size(n, x, prob, max_upscale)
n | Numeric, number of samples to draw |
---|---|
x | Numeric, offset. |
prob | Numeric, probability of successful trial |
max_upscale | Numeric, maximum upscaling of cases allowed at each time point |
#> [1] 9 1 2 3 4 5 6 7 8 9 10