Learn R Programming

MAIT (version 1.6.0)

FisherLSD: Performs Fisher's LSD tests on the provided data

Description

Function FisherLSD performs Fisher's LSD tests on the data using the package agricolae.

Usage

FisherLSD(data, classes, index, DFerror, MSerror, numClasses )

Arguments

data
A numerical matrix containing the data
classes
A character vector containing the class names of the samples present in the data. This vector must have the same length as the number of samples present in the argument data.
index
Numerical value to choose a subset of the data on which the LSD tests is going to be performed.
DFerror
Degrees of freedom of the model
MSerror
Means square error of the model
numClasses
Numerical parameter corresponding to the number of classes present in the data.

Value

A list containing the class names, the group where each class belongs according to the LSD test and the value of their means.