set.seed(1234) shuffle = function(x) sample(x, size=length(x), replace=FALSE) trt = rep(c("A", "B"), 10) trt shuffle(trt)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.