R/plot.data_agro_SR.R
plot.data_agro_SR.Rd
plot.data_agro_SR
gets ggplot to describe the data
# S3 method for data_agro_SR plot(x, mean_comparisons = NULL, plot_type = "boxplot", heritability = FALSE, vec_variables = NULL, nb_parameters_per_plot_x_axis = 5, nb_parameters_per_plot_in_col = 5, ...)
x | The data frame. It should come from |
---|---|
mean_comparisons | Output from |
plot_type | the type of plot you wish. It can be :
|
heritability | if TRUE, display estimated heritability |
vec_variables | vector of variables to display |
nb_parameters_per_plot_x_axis | the number of parameters per plot on x_axis arguments |
nb_parameters_per_plot_in_col | the number of parameters per plot for in_col arguments |
... | further arguments passed to or from other methods |
The function returns a list with ggplot objects for each variable of vec_variables divided then for each element expe_id. When argument mean_comparison is not NULL, it returns a plot with stars of significant differences.
S3 method. See the book for more details here.