Q Blocked Randomization with Random Block Sizes
Hello,,im very very new to R..so ask your help.
thank U in advance for your kind answer.
I would like to randomize 70 participants to one of TWO treatment conditions using
permuted block randomisation with RANDOM BLOCK SIZE. How can I do this with R?
(I've just learned blockrand for fixed block size
blockrand(40, block.sizes=c(4,4)) )
how can I proceed from this to RANDOM BLOCK SIZE?
Can I set minumim block size AND maximum block size?
if i use below..block size sometimes include 2 ( I would like to include block size 4, 6, 8)
myrand <- blockrand(40, block.sizes=8).