Estimate normalized model weights using an Expectation–Maximization (EM) algorithm with a gamma distribution
BMAweight_gamma(converged_models, x, trait)
A vector containing the normalized model weights based on the Bayesian Model Averaging (BMA) approach proposed by Duan et al. (2006), adapted to use a gamma distribution
A list containing the fitted models for the individual
A data frame containing the daily milking records for the individual
The name of the column containing daily milking records