Re: [R] Add constraints to rbinom

2013-07-01 Thread Meyners, Michael
To: r-help@r-project.org Subject: [R] Add constraints to rbinom Hi: I am trying to generate Beta-Binomial random variables and then calculate Binomial exact confidence intervals to the rate..I was wondering if I needed to add a constraint such that x=n to it, how do I go about

[R] Add constraints to rbinom

2013-06-28 Thread Anamika Chaudhuri
Hi: I am trying to generate Beta-Binomial random variables and then calculate Binomial exact confidence intervals to the rate..I was wondering if I needed to add a constraint such that x=n to it, how do I go about it. The reason is I am getting data where xn which is giving a rate1. Heres my