The LSD() is used to perform "Least significant difference" for
grouped data and create compare-class. This function is only
applicable to single factor analysis, see LSD2 for a
two factor version of the function.
Usage
LSD(data, .group, y, ...)
Value
An compare-class object.
Arguments
data
An easynem-class data.
.group
Grouping variables.
y
Dependent variable (numeric data).
...
Other parameters for LSD.test.
Details
To facilitate code interpretation, It is recommended to use this function in
conjunction with the calc_compare function:
nem_compare <- nem |> calc_compare(.group = con_crop, y = pH, method = LSD)
See Also
Other functions related to differential analysis methods: TTest2,
TTest, WilcoxTest2, WilcoxTest,
KruskalTest2, KruskalTest, LSD2, HSD,
HSD2.