Learn R Programming

ExpDes (version 1.2.2)

lsdb: Multiple comparison: Bonferroni's Least Significant Difference test

Description

lsdb Performs the t test (LSD) with Bonferroni's protection, for multiple comparison of means.

Usage

lsdb(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 LSDB test.

See Also

snk, duncan, ccboot, lsd, scottknott, tukey, ccF.

Examples

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

Run the code above in your browser using DataLab