predict_the_past_model_bh_GxE: Predict values of germplasms in environments where they have...

Description Usage Arguments Details Value Author(s) See Also

View source: R/predict_the_past_model_bh_GxE.R

Description

predict_the_past_model_bh_GxE predicts values of germplasms in environments where they have not been grown based on Hierarchical Bayesian GxE model.

Usage

1
predict_the_past_model_bh_GxE(out_check_model_model_bh_GxE, env = NULL)

Arguments

out_check_model_model_bh_GxE

object from check_model.fit_model_bh_GxE

env

name of the environment where the germplasm effect are predicted

Details

The estimations of the values are based on the MCMC outputs.

More informations can be found in the book : https://priviere.github.io/PPBstats_book/family-2.html#model-2

It is like mu_ij effect that are estimated (as for Hierarchical Bayesian intra-location model), i.e. the effect of a germplasm in an environment.

Due to memory issues, it is better to run the function for only one environment instead of all by default. This allows the same ggplot as for Hierarchical Bayesian intra-location model.

Value

The function returns a MCMC for the given environment. This MCMC output can be used in the same way as the output from check_model.fit_model_bh_intra_location.

Author(s)

Pierre Riviere

See Also


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