Re: [R] generating clustered data

2006-07-11 Thread Hamilton, Cody
, 2006 15:59 PM To: r-help@stat.math.ethz.ch Subject: [R] generating clustered data Hello R folks, Does anybody have code to share for generating (via simulation) clustered data? The type of data I am looking to simulate would allow fitting of a multilevel model with random intercepts. I looked

[R] generating clustered data

2006-07-11 Thread Brian Perron
Hello R folks, Does anybody have code to share for generating (via simulation) clustered data? The type of data I am looking to simulate would allow fitting of a multilevel model with random intercepts. I looked at the mvtnorm package but am not quite sure how to create clusters. (Can this