Random Treatment Assignments for Randomized Block Designs
Randomly draws a specified number of assignment vectors or matrices according to a randomized block design.
blockRand(w, nrand, block)
a vector or matrix of assignments.
a number specifying the desired number of random assignments.
a vector of block designations.
Assignments are randomly permuted within each block.
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
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.