Learn R Programming

bda (version 13.4.13)

perm.test: A permutation test

Description

To perform a permutation test.

Usage

perm.test(x,y,tstat,alternative = "two.sided",iter=999)

Arguments

x,y

Two data sets.

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.

iter

Iterations for the test.

Examples

Run this code
# NOT RUN {
 # To be updated.
# }

Run the code above in your browser using DataLab