A simple approach is to generate correlated normal data (mvrnorm function in MASS package is one way), then use a cut-off to convert them to binary.
On Wed, Jul 4, 2012 at 12:25 PM, Soyeon Kim <[email protected]> wrote: > Hi. > I am trying to generate a correlated binary data set. > I've tried to use mvtBinaryEP, binarySimCLF, and bindata packages but none > of them works in R version 2.15.1. > Do you know any package to generate correlated binary covariates and work > in R version 2.15.1, or how to generate it? > > Thanks, > > [[alternative HTML version deleted]] > > ______________________________________________ > [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. -- Gregory (Greg) L. Snow Ph.D. [email protected] ______________________________________________ [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.

