[R] How to generate a correlated binary data set?
ehlers at ucalgary.ca
Wed Jul 4 21:25:52 CEST 2012
On 2012-07-04 11:25, Soyeon Kim wrote:
> 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.
You'll have to be more forthcoming about what you mean
by "works". What error is produced? I just tried the examples
in mvtBinaryEP and in bindata and both work just fine for me.
Perhaps you don't have the mvtnorm package installed?
R version 2.15.1 Patched (2012-06-27 r59661)
Platform: x86_64-pc-mingw32/x64 (64-bit)
 LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252
 LC_MONETARY=English_Canada.1252 LC_NUMERIC=C
attached base packages:
 stats graphics grDevices utils datasets methods base
other attached packages:
 bindata_0.9-18 e1071_1.6 class_7.3-4 mvtBinaryEP_1.0.1
loaded via a namespace (and not attached):
More information about the R-help