perm.test: A permutation test
Description
To perform a permutation test.
Usage
perm.test(x,y,tstat,alternative = "two.sided",iter=999)
Arguments
tstat
user-defined function to compute the test statistic.
alternative
a character string specifying the alternative
hypothesis, must be one of two.sided
(default),
greater
or less
.
You can specify just the initial letter.
Examples
Run this code# NOT RUN {
# To be updated.
# }
Run the code above in your browser using DataLab