[R] combining from two samples with restrictions

2011-04-22 Thread Rujealous
hello again, I have two sets of data, 1 = {A, B, C, D, E} and 2 = {F, G, H, I, J), and the figure is the same personof the the figure F , B is the same that G and so on until E = J. So I have to make about 200 combinations with two pictures of each group, forming a new group of four elements, wit

[R] random value generation in a row

2011-04-20 Thread Rujealous
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-tp3464503