R/predict_the_past_model_bh_GxE.R
predict_the_past_model_bh_GxE.Rd
predict_the_past_model_bh_GxE
predicts values of germplasms in environments where
they have not been grown based on Hierarchical Bayesian GxE model.
predict_the_past_model_bh_GxE(out_check_model_model_bh_GxE, env = NULL)
out_check_model_model_bh_GxE | object from |
---|---|
env | name of the environment where the germplasm effect are predicted |
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
.
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.