Learn R Programming

TukeyC (version 1.1-4)

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 containing the most important results of the test performed:
  • TableTable of means of the factors
  • MeansThe means of the factors
  • ResultThe result of the Tukey test
  • Sig.LevelThe significance of the test
  • Diff_ProbA matrix with the observed means differences (upper.tri) and respective probalities (lower.tri)
  • MSDThe minimum significative difference
  • ReplicatesThe replicate number for each factor