powered by
The HSD() is used to Compute Tukey Honest Significant Differences for grouped data and create compare-class. This function is only applicable to single factor analysis, see HSD2 for a two factor version of the function.
HSD()
compare-class
HSD2
HSD(data, .group, y, ...)
An compare-class object.
An easynem-class data.
easynem-class
Grouping variables.
Dependent variable (numeric data).
Other parameters for TukeyHSD.
TukeyHSD
To facilitate code interpretation, It is recommended to use this function in conjunction with the calc_compare function:
calc_compare
nem_compare <- nem |> calc_compare(.group = con_crop, y = pH, method = HSD)
Other functions related to differential analysis methods: TTest2, TTest, WilcoxTest2, WilcoxTest, KruskalTest2, KruskalTest, LSD2, LSD, HSD2.
TTest2
TTest
WilcoxTest2
WilcoxTest
KruskalTest2
KruskalTest
LSD2
LSD
nem <- read_nem2(tab = nemtab, tax = nemtax, meta = nemmeta) nem_test <- nem |> calc_compare(.group = Treatments, y = Mesorhabditis, method = HSD) nem_test
Run the code above in your browser using DataLab