PF {doex} | R Documentation |
Permutation F-test
Description
This function performs Permutation F-test.
Usage
PF(data,group,rept)
Arguments
data |
A vector containing the observations to which the treatments are randomly assigned. |
group |
A numerical or character vector indicating the treatment/control groups. |
rept |
The loop size to perform the test. |
Value
pvalue |
the p-value of the Permutation F-test |
Author(s)
Mustafa CAVUS
References
Berry, K.J. and Mielke, P.W. (2002) The Fisher-Pitman permutation test: an attractive alternative to the f test, Psychological Reports, 90, 495-502.
Examples
library(doex)
PF(hybrid$data,hybrid$species,1000)
[Package doex version 1.2 Index]