Learn R Programming

doex (version 1.2)

B2: B-square test

Description

This function performs B-square test.

Usage

B2(alpha,data,group)

Arguments

alpha

significance level of the test.

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

p.value

the p-value of the B-square test

References

<U+00D6>zdemir, A.F. and Kurt, S. (2006) One way fixed effect analysis of variance under variance heterogeneity and a solution proposal, Sel<U+00E7>uk Journal of Applied Mathematics, 7(2), 81-90.

Examples

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

Run the code above in your browser using DataLab