stratifiedSample.Rd
the stratifiedSample function
stratifiedSample(stats)
stats | a vector of statistics |
---|
vector
a vector of indices for the statistics that should be used for permutation testing
stats = rnorm(5000) sampleindices = stratifiedSample(stats) length(sampleindices)#> [1] 252