samp.between.within | R Documentation |
Used to generate a permutation of a sequence 1:length(inner.lev). blocks of observations defined by inner.lev are permutted within blocks defined by outer.lev
samp.between.within(inner.lev, outer.lev)
inner.lev |
a vector containing the groups to be permuted. |
outer.lev |
a vector containing teh blocks within which observations are to be kept. |
a vector 1:length(lev) (with blocks defined by data) randomly permuted. Usually, one passes the result to reorder observations in a data set in order to carry out permutation-based tests
test.between.within
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.