Learn R Programming

ExpDes (version 1.2.2)

lsd: Multiple comparison: Least Significant Difference test

Description

lsd 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

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