Learn R Programming

ExpDes (version 1.2.0)

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

Description

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

See: snk, duncan, lsd, ccboot, 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