Learn R Programming

doex (version 1.2)

AGF: Alvandi et al. Generalized F-test

Description

This function performs Alvandi et al. Generalized F-test.

Usage

AGF(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 Alvandi et al. Generalized F-test

References

Sadooghi-Alvandi, S.M., Jafari, A.A., Mardani-Fard, H.A. (2012) One-way ANOVA with unequal variances, Communications in Statistics: Theory and Methods, 41, 4200-4221.

Examples

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

Run the code above in your browser using DataLab