Description Usage Arguments Value Examples
the stratifiedSample function takes in a vector of statistics, and returns a vector of indices for the statistics that should be used for permutation testing
| 1 | stratifiedSample(stats, length = 100)
 | 
| stats | a vector of statistics | 
| length | rough number of indices to extract | 
vector a vector of indices for the statistics that should be used for permutation testing
| 1 2 3 | stats = rnorm(5000)
sampleindices = stratifiedSample(stats)
length(sampleindices)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.