Random Numbers in R: Binomial Distribution

2 replies · 2K views · last reply
MaxManus
Messages
268
Reaction score
1
n is the population
p is the probability for one person to be sick
y is the numbers who are sick
I want to use R to generate random y. Binomial distribution. Does anyone know which command?