Learn R Programming

doex (version 1.2)

BF: Brown-Forsythe test

Description

This function performs Brown-Forsythe test.

Usage

BF(data,group)

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.

Value

pvalue

the p-value of the Brown-Forsythe test

References

Brown, M.B. and Forsythe, A.B. (1974) The small sample behavior of some statistics which test the equality of several means, Technometrics, 16, 129<U+2013>132.

Examples

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

Run the code above in your browser using DataLab