Re: [R] how to simulate Likert-type data using R

2011-06-27 Thread Jim Lemon
On 06/26/2011 07:26 PM, wjcao wrote: Dear R members Could someone tell me how to simulate Likert-type data using the rnorm function. Let's say, 200*15 random numbers in a variable that goes from 1 to 4 in steps of 1 (i.e., 1, 2, 3, 4) belonging to a normal distribution? random.data—

[R] how to simulate Likert-type data using R

2011-06-26 Thread wjcao
= 15) random.data The result cannot be reached. could one help me revise the syntax? Cheers cao -- View this message in context: http://r.789695.n4.nabble.com/how-to-simulate-Likert-type-data-using-R-tp3625664p3625664.html Sent from the R help mailing list archive at Nabble.com

Re: [R] how to simulate Likert-type data using R

2011-06-26 Thread Tyler Rinker
?sample Date: Sun, 26 Jun 2011 02:26:10 -0700 From: wjca...@hotmail.com To: r-help@r-project.org Subject: [R] how to simulate Likert-type data using R Dear R members Could someone tell me how to simulate Likert-type data using the rnorm function. Let's say, 200*15 random numbers