make.TukeyC.test: Make Tukey Test

View source: R/make.TukeyC.test.R

make.TukeyC.testR Documentation

Make Tukey Test

Description

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

Usage

make.TukeyC.test(obj,
		 MSE,
		 sig.level,
		 dfr,
		 round,
		 adjusted.pvalue)

Arguments

obj

A data.frame with the means and replicate of the factors.

MSE

A vector of length 1 giving the mean squared error.

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⁠’.

round

Integer indicating the number of decimal places.

adjusted.pvalue

A vector of pvalues obtained of the ptukey function.

Value

A list with 5 slots containing the most important results of the test performed:

Result

The result of the Tukey test

Sig.Level

The significance of the test

Diff_Prob

A matrix with the observed means differences (upper.tri) and respective probalities (lower.tri)

MSD

The minimum significative difference

Replicates

The replicate number for each factor

Note

This function is mainly for internal use in the TukeyC package.

Author(s)

Jose Claudio Faria (joseclaudio.faria@gmail.com)
Enio Jelihovschi (eniojelihovs@gmail.com)
Ivan Bezerra Allaman (ivanalaman@gmail.com)


jcfaria/TukeyC documentation built on July 6, 2023, 4:27 p.m.