Description Usage Arguments Value
Uniform random number generation
Random permutation
1 2 3 4 5 6 7 | rUnif(n)
bootPerm(n)
shuffleMatrix(X, prm)
shuffleVector(y, prm)
|
n |
length of the permutation vector |
X |
model matrix to be permuted |
prm |
permutation of the observations (typically the output
of |
y |
response vector to be permuted |
a permutation of 1:n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.