For penalised additive (mixed) models fitted with gam() from 'mgcv', each site (cluster) is deleted in turn and the model is refitted twice, reusing the full-data model matrix and penalties: once with the estimated smoothing parameters (and negative binomial theta) held fixed, and once with them re-estimated by restricted maximum likelihood (REML). Comparing the changes in the other sites' fitted values shows how much of a site's influence appears only when the smoothing parameters re-tune. Includes a plot method and a dataset of coral trout counts on the Great Barrier Reef.
| Version: | 0.1.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | graphics, mgcv (≥ 1.9), stats, utils |
| Suggests: | knitr, rmarkdown, testthat (≥ 3.1.7) |
| Published: | 2026-11-17 |
| DOI: | 10.32614/CRAN.package.gamfluence (may not be active yet) |
| Author: | Ziqi Song [aut, cre] |
| Maintainer: | Ziqi Song <ziqisong030 at gmail.com> |
| BugReports: | https://github.com/FayeSong-0223/gamfluence/issues |
| License: | GPL-3 |
| URL: | https://fayesong-0223.github.io/gamfluence/, https://github.com/FayeSong-0223/gamfluence |
| NeedsCompilation: | no |
| Language: | en-GB |
| Materials: | NEWS |
| CRAN checks: | gamfluence results |
| Reference manual: | gamfluence.html , gamfluence.pdf |
| Vignettes: |
Which sites change a GAM, and why? A coral trout example (source, R code) |
| Package source: | gamfluence_0.1.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): gamfluence_0.1.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=gamfluence to link to this page.