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 <yunni0...@gmail.com> 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]] > > ______________________________________________ > R-help@r-project.org 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. 538...@gmail.com ______________________________________________ R-help@r-project.org 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.