plot.mean_comparisons_model_bh_GxE returns ggplot to visualize outputs from mean_comparisons.check_model_bh_GxE

# S3 method for mean_comparisons_model_bh_GxE
plot(x, y = NULL,
  plot_type = c("biplot-alpha-beta", "barplot"),
  nb_parameters_per_plot = 8, ...)

Arguments

x

Output from mean_comparisons.check_model_bh_GxE for a given parameter

y

Output from mean_comparisons.check_model_bh_GxE for a given parameter

plot_type

"biplot-alpha-beta" or "barplot"

nb_parameters_per_plot

number of parameter per plot to display

...

further arguments passed to or from other methods

Value

A list with ggplot object depending on plot_type. There are as many graph as needed with nb_parameters_per_plot parameters per graph.

  • barplot : Letters are displayed on each bar. Parameters that do not share the same letters are different regarding type I error (alpha) and alpha correction. The error I (alpha) and the alpha correction are displayed in the title. alpha = Imp means that no differences were possible to find.

  • biplot-alpha-beta : display the biplot with alpha_i on the x axis and beta_i on the y axis if x and y are coming respectively from mean_comparisons.check_model_bh_GxE for alpha and beta.

Details

S3 method. y can not be NULL for plot_type = "biplot-alpha-beta". See example in the book: https://priviere.github.io/PPBstats_book/family-2.html#model-2

See also