Displaying 1 result from an estimated 1 matches for "tp1401407p1401504".
2010 Jan 29
5
random permuted block randomization
Hi,
I am very new to R. Just started yesterday. I have to generate a sequence of
40 random treatments using permuted block randomization with a block size of
8. Then I have to plot moving averages for the resulting sequence. I have
tried the sample function but I dont know if wht i did is right or not
> sample(c(1,1,1,1,2,2,2,2),8)
Any ideas please?
--
Ayesha Khan
MS Bioinformatics
Dept. of