[R] generate Binomial (not Binary) data

Gregor Gorjanc gregor.gorjanc at bfro.uni-lj.si
Fri Feb 9 13:03:46 CET 2007


Marc Bernard <bernarduse1 <at> yahoo.fr> writes:
>   I am looking for an R function or any other reference to generate a series
of correlated Binomial (not a
> Bernoulli) data. The "bindata" library can do this for the binary not the
binomial case.

But binomial is just a sum of Bernoulli vars so this should be doable. 

Gregor



More information about the R-help mailing list