gam.hp: Hierarchical Partitioning of Adjusted R2 and Explained Deviance for Generalized Additive Models

Conducts hierarchical partitioning to calculate individual contributions of each predictor towards adjusted R2 and explained deviance for generalized additive models based on output of gam()in 'mgcv' package, applying the algorithm in this paper: Lai(2022) <doi:10.1093/jpe/rtac096>.

Version: 0.0-1
Depends: R (≥ 3.4.0), mgcv, ggplot2
Published: 2024-03-14
Author: Jiangshan Lai ORCID iD [aut, cre], Jing Tang [aut]
Maintainer: Jiangshan Lai <lai at>
License: GPL-2 | GPL-3 [expanded from: GPL]
NeedsCompilation: no
Citation: gam.hp citation info
CRAN checks: gam.hp results


Reference manual: gam.hp.pdf


Package source: gam.hp_0.0-1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gam.hp_0.0-1.tgz, r-oldrel (arm64): gam.hp_0.0-1.tgz, r-release (x86_64): gam.hp_0.0-1.tgz, r-oldrel (x86_64): gam.hp_0.0-1.tgz


Please use the canonical form to link to this page.