a data frame that contains the variables given in the formula.
subset
an optional expression indicating what observations to use.
Methods (by class)
permTestCor(default): Permutation test for the correlation of two variables.
permTestCor(formula): Permutation test for the correlation of two variables.
Author
Laura Chihara
Details
Perform a permutation test to test \(latex\), where
\(latex\)is the population correlation. The rows of the second
variable are permuted and the correlation is re-computed.
The mean and standard error of the permutation distribution is printed as
well as a P-value.