Re: [R] R question: generating data using MASS

2011-08-29 Thread Ben Bolker
uf_mike michael.parent at ufl.edu writes: Hi, all! I'm new to R but need to use it to solve a little problem I'm having with a paper I'm writing. The question has a few components and I'd appreciate guidance on any of them. 1. The most essential thing is that I need to generate some

Re: [R] R question: generating data using MASS

2011-08-29 Thread Michael Parent
Thanks! This problem isn't uniquely defined. Are you willing to generate more samples than you need and then throw away extreme values? Or do you want to 'censor' extreme values (i.e. set values = 1 to 1 and values =7 to 7)? I'd like the retain a normal distribution so I wouldn't want to

Re: [R] R question: generating data using MASS

2011-08-29 Thread Ben Bolker
Michael Parent michael.parent at ufl.edu writes: Thanks! This problem isn't uniquely defined. Are you willing to generate more samples than you need and then throw away extreme values? Or do you want to 'censor' extreme values (i.e. set values = 1 to 1 and values =7 to 7)? I'd like

[R] R question: generating data using MASS

2011-08-28 Thread uf_mike
Hi, all! I'm new to R but need to use it to solve a little problem I'm having with a paper I'm writing. The question has a few components and I'd appreciate guidance on any of them. 1. The most essential thing is that I need to generate some multivariate normal data on a restricted integer range