Learn R Programming

TukeyC (version 1.0-6)

make.TukeyC.test: Make Tukey Test

Description

This function implements the Tukey test for balanced or unbalanced designs and schemes.

Usage

make.TukeyC.test(r=r,
                   MSE=MSE,
                   m.inf=m.inf,
                   ord=ord,
                   sig.level=sig.level,
                   dfr=dfr,
                   bal=bal,
                   mt=mt,
                   round=round)

Arguments

r
A vector of the number of repicates of each level of the factor being tested.
MSE
A vector of length 1 giving the mean squared error.
m.inf
A matrix of the levels of the factor being tested in decreasing order.
ord
A vector of ordered levels of the factor being tested.
sig.level
A vector of length 1 giving the level of significance of the test.
dfr
A vector of length 1 giving the degrees of freedom of MSE.
bal
A vector of length 1 giving the information wheter the experiment is or not balanced.
mt
The model table.
round
Integer indicating the number of decimal places.

Value

  • A list with 7 slots (Table, Means, Result, Sig.Level, Diff_Prob, MSD (The Minimum Significative Difference) and Replicates) containing the most important results of the test performed.