Learn R Programming

doex (version 1.2)

JF: Johansen F-test

Description

This function performs Johansen F-test.

Usage

JF(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 Johansen F-test

References

Johansen, S. (1980) Whe Welch-James approximation to the distribution of the residual sum of squares in a weighted linear regression, Biometrika, 67(1), 58-92.

Examples

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

Run the code above in your browser using DataLab