Learn R Programming

doex (version 1.2)

PF: 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

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

Run this code
# NOT RUN {
library(doex)
PF(hybrid$data,hybrid$species,1000)
# }

Run the code above in your browser using DataLab