plot.mean_comparisons_model_bh_GxE: Get ggplot to visualize output from...

Description Usage Arguments Details Value Author(s) See Also

View source: R/plot.mean_comparisons_model_bh_GxE.R

Description

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

Usage

1
2
3
4
## S3 method for class '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

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

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.

Author(s)

Pierre Riviere

See Also

mean_comparisons.check_model_bh_GxE


priviere/PPBstats documentation built on May 6, 2021, 1:20 a.m.