Q Blocked Randomization with Random Block Sizes

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).


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.