gam.hp is an R package for Hierarchical partitioning for Adjusted R2 and Explained Deviance for Generalized Additive Models, to install it, please use the following command in R: library(devtools) install_github('laijiangshan/gam.hp',build_vignettes = TRUE)
#If you haven't had devtools installed, please install it by typing "install.packages("devtools")" in R console. please cite this paper if you use gam.hp package as:
- Jiangshan Lai*, Yi Zou, Shuang Zhang, Xiaoguang Zhang. Lingfeng Mao.2022. glmm.hp: an R package for computing individual effect of predictors in generalized linear mixed models. Journal of Plant Ecology 15(6):1302-1307. DOI:10.1093/jpe/rtac096.
- Jiangshan Lai*, Weijie Zhu, Dongfang, Cui, Lingfeng Mao. 2023. Extension of the glmm.hp Package to Zero-Inflated Generalized Linear Mixed Models and Multiple Regression 16(6):rtad038, https://doi.org/10.1093/jpe/rtad038 Please feel free to send an email to the package maintainer Dr. Jiangshan Lai (lai@njfu.edu.cn) if you have any question or comments about this package.