Maybe you thought the binomial distribution? see ?rbinom
best, kd ________________________________________ Feladó: [email protected] [[email protected]] ; meghatalmazó: Rolf Turner [[email protected]] Küldve: 2014. május 5. 9:27 To: Ragia Ibrahim Cc: [email protected] Tárgy: Re: [R] uniform number On 05/05/14 17:05, Ragia Ibrahim wrote: > > Dear group, > How to generate uniform probability choosing p to be 2% and 5%, in separate > trials for 100 times. No idea WTF you are talking about. Can you formulate a question that is comprehensible to the human mind? cheers, Rolf Turner ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

