Random Numbers in R: Binomial Distribution

  • Thread starter Thread starter MaxManus
  • Start date Start date
  • Tags Tags
    Numbers Random
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
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?
 
Physics news on Phys.org
Yes, thanks for the help.