Randomly draws a specified number of assignment vectors or matrices according to a randomized block design.

1 | ```
blockRand(w, nrand, block)
``` |

`w` |
a vector or matrix of assignments. |

`nrand` |
a number specifying the desired number of random assignments. |

`block` |
a vector of block designations. |

Assignments are randomly permuted within each block.

If `w`

is a matrix, the permutations occur by row.

A list of random assignment vectors or matrices.

Joseph J. Lee and Tirthankar Dasgupta

1 2 3 4 5 6 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.