ggplot_mixture1: Barplot for the comparison of the mixture vs its components &...

Description Usage Arguments Value Author(s) See Also

Description

Barplot for the comparison of the mixture vs its components & the mean of its components

Usage

1
2
ggplot_mixture1(res_model, melanges_PPB_mixture, variable,
  plot.type = "comp.in.farm", nb_parameters_per_plot = 8)

Arguments

res_model

output from the PPBstats::analyse.outputs function

variable

the variable to study

plot.type

the type of plot wanted. Can be "comp.in.farm" to compare the mixtures to each of its components in a farm ; "mixVScomp" to compare all mixtures to all components ; "mix.comp.distribution" ; "mix.gain.distribution" to plot the distribution of the difference between mixtures and the mean of its components

nb_parameters_per_plot

the number of parameters per plot

farmers_data

output from the shinemas2R::get.data function, with argument query type == "data.mixture.1"

Value

A list containing, for each environment and mixture, the barplots ("bp") and the tables ("Tab")

Author(s)

Gaelle Van Frank

See Also

shinemas2R::get.data


priviere/PPB documentation built on May 26, 2019, 8:32 a.m.