randomOrderWithinGroup | R Documentation |
Randomly place the sample within group
randomOrderWithinGroup(group = NULL, ids = NULL, seed = 666)
group |
Group label |
ids |
Sample names |
seed |
Default 666 |
group = rep(c("G1","G2"),c(10,10))
ids = 1:20
loonR::randomOrderWithinGroup(group, ids)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.