Skip to content
Prev 1357 / 7420 Next

randomization

Not totally sure I understand your question, what I got from your
message is that you're at the design stage and just want R to give you a
random sequence to randomly assign treatments to sampling units?

If so, just assign an ID number (e.g. 1 to 960), then use function
sample (without replacement):

sample(1:960)

Cheers

Etienne


Le samedi 17 juillet 2010 ? 16:46 -0300, shylock holmes a ?crit :