mean_comparisons performs mean comparisons from object coming from check_model.fit_model_home_away

# S3 method for check_model_home_away
mean_comparisons(x, alpha = 0.05,
  p.adj = "none", ...)

Arguments

x

outputs from check_model.fit_model_home_away

alpha

level of type one error. 0.05 (5%) by default

p.adj

NULL for no adjustement of the type one error. p.adj can be "tukey".

...

further arguments passed to or from other methods

Value

A list of four elements :

  • info : a list with variable and home_away analysis

  • data_ggplot_LSDbarplot_version:germplasm

  • data_ggplot_LSDbarplot_germplasm

  • data_ggplot_LSDbarplot_location

  • data_ggplot_LSDbarplot_year

Details

S3 method. Mean comparisons based on LSmeans with the R package emmeans. See in the book for mo arere details here

See also