Hello,
At an R prompt type
?rbinom
?replicate
Hope this helps,
Rui Barradas
Em 10-04-2014 02:28, thanoon younis escreveu:
hi
i want to simulate multivariate dichotomous data matrix with categories
(0,1) and n=1000 and p=10.
thanks alot in advance
[[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.
______________________________________________
[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.