Learn R Programming

ExpDes (version 1.2.0)

lsd: Multiple comparison: Least Significant Difference test

Description

Performs the t test (LSD) for multiple comparison of means.

Usage

lsd(y, trt, DFerror, SSerror, alpha = 0.05, group = TRUE, main = NULL)

Arguments

y

Numeric or complex vector containing the response variable.

trt

Numeric or complex vector containing the treatments.

DFerror

Error degrees of freedom.

SSerror

Error sum of squares.

alpha

Significance level.

group

TRUE or FALSE

main

Title

Value

Returns the multiple comparison of means according to the LSD test.

See Also

see: snk, duncan, ccboot, lsdb, scottknott, tukey, ccf

Examples

Run this code
# NOT RUN {
data(ex1)
attach(ex1)
crd(trat, ig, quali = TRUE, mcomp='lsd', sigT = 0.05)
# }

Run the code above in your browser using DataLab