[R] random value generation in a row

Rujealous pvmescollote at gmail.com
Thu Apr 21 01:30:18 CEST 2011


the plan is

i have to create a column with random numbers from 1 to 5 forming a vector
with 200 numbers.
these numbers should have the same proportion, like 40 "1", 40 ''2'', etc.

thx,

pvm

--
View this message in context: http://r.789695.n4.nabble.com/random-value-generation-in-a-row-tp3464503p3464503.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list