Generalized linear mixed models(GLMMs)have been widely used in contemporary ecology studies.However,determination of the relative importance of collinear predictors(i.e.fixed effects)to response variables is one of th...Generalized linear mixed models(GLMMs)have been widely used in contemporary ecology studies.However,determination of the relative importance of collinear predictors(i.e.fixed effects)to response variables is one of the challenges in GLMMs.Here,we developed a novel R package,glmm.hp,to decompose marginal R2^(2)explained by fixed effects in GLMMs.The algorithm of glmm.hp is based on the recently proposed approach‘average shared variance’i.e.used for multivariate analysis.We explained the principle and demonstrated the use of this package by simulated dataset.The output of glmm.hp shows individual marginal R2^(2)s that can be used to evaluate the relative importance of predictors,which sums up to the overall marginal R2^(2).Overall,we believe the glmm.hp package will be helpful in the interpretation of GLMM outcomes.展开更多
基金This work was supported by the National Natural Science Foundation of China(32271551)the Metasequoia funding of Nanjing Forestry University.Conflict of interest statement.The authors declare that they have no conflict of interest.
文摘Generalized linear mixed models(GLMMs)have been widely used in contemporary ecology studies.However,determination of the relative importance of collinear predictors(i.e.fixed effects)to response variables is one of the challenges in GLMMs.Here,we developed a novel R package,glmm.hp,to decompose marginal R2^(2)explained by fixed effects in GLMMs.The algorithm of glmm.hp is based on the recently proposed approach‘average shared variance’i.e.used for multivariate analysis.We explained the principle and demonstrated the use of this package by simulated dataset.The output of glmm.hp shows individual marginal R2^(2)s that can be used to evaluate the relative importance of predictors,which sums up to the overall marginal R2^(2).Overall,we believe the glmm.hp package will be helpful in the interpretation of GLMM outcomes.