Learn R Programming

doex (version 1.2)

CF: Cochran F-test

Description

This function performs Cochran F-test.

Usage

CF(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 Cochran F-test

References

Cochran, W.G. (1937) Problems arising in the analysis of a series of similar experiments, Journal of the Royal Statistical Society, 4, 102-118.

Examples

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

Run the code above in your browser using DataLab