Skip to contents

Samples the size parameter from the binomial distribution with fixed x (number of successes) and p (success probability)

Usage

rbinom_size(n, x, prob)

Arguments

n

number of samples to generate

x

number of successes

prob

probability of success

Value

sampled sizes

Author

Sebastian Funk