Learn R Programming

hiddenf (version 2.0)

TukeyPvalue: Tukey's single degree of freedom test for nonadditivity

Description

Reports the p-value from Tukey's single degree of freedom test for non-additivity

Usage

TukeyPvalue(hfobj)

Arguments

hfobj
An object of class hiddenf created by the hiddenf function

Value

A list with two components: (1) a numeric p-value from Tukey's single degree of freedom test of the hypothesis of additivity and (2) an object of class `lm' corresponding to the linear model additive in row and column effects.

References

Tukey, JW (1949). One Degree of Freedom for Non-Additivity. Biometrics, 5:232-242.

See Also

additivityPvalues

Examples

Run this code
library(hiddenf)
data(cjejuni.mtx)
cjejuni.out <- HiddenF(cjejuni.mtx)
tukey.pvalue <- TukeyPvalue(cjejuni.out)

Run the code above in your browser using DataLab