Search notes:

R function: rbinom

rbinom(30, size=10, prob=0.2)
#  [1] 4 0 2 1 4 2 3 0 1 1 3 3 3 1 2 1 1 2 3 1 1 2 3 3 1 3 2 1 2 4
Github repository about-r, path: /functions/rbinom.R

See also

Random numbers (distribution)
R function: dbinom
Index to (some) R functions

Index