Description Usage Arguments Value
View source: R/k_sample.R View source: R/utils.R
Permute values within groups
Permutation of condition within each group. This is a helper function for stratified permutation tests.
1 2 3 |
x |
vector of exchangeable values |
group |
vector of fixed group assignments |
x |
A vector of treatment indicators |
group |
A vector indicating group membership |
a vector of length(x)
The within-group permuted x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.