Package: GLAMMGoF Title: Resampling-Based Predictive Validation for Generalized Linear and Generalized Additive Models Date: 2026-05-14 URL: https://github.com/colinpshea/glammgof Version: 1.1.2 Authors@R: person("Colin", "Shea", , "colin.shea@myfwc.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-2906-250X")) Description: Provides resampling-based predictive validation for generalized linear and generalized additive models (with or without random effects) fitted using packages such as glmmTMB, mgcv, stats, lme4, and MASS. Predictive performance is assessed using either repeated random holdout (Monte Carlo cross-validation) or bootstrap resampling with out-of-bag evaluation. In each replicate, models are refit to a training dataset and evaluated on separate testing data, generating sampling distributions of in-sample and out-of-sample performance statistics. For continuous or integer response models, supported metrics include relative root mean squared error (RRMSE), relative mean absolute error (RMAE), relative median absolute error (RMedAE), and relative bias (RBIAS). For binary response models, supported metrics include AUC, Brier score, and log loss. All predictive metrics are based on population-level predictions, meaning random effects are excluded when present. Optional residual diagnostics can also be performed using the DHARMa package. License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.2 LazyData: true Imports: dplyr ,tidyr ,rms (>= 6.0-0) ,DHARMa (>= 0.4.0) ,glmmTMB (>= 1.1.5) ,lme4 ,MASS ,magrittr ,mgcViz ,mgcv ,rlang ,nlme Depends: ggplot2, R (>= 3.5) Suggests: knitr, rmarkdown VignetteBuilder: knitr Config/pak/sysreqs: cmake make libicu-dev libuv1-dev libssl-dev zlib1g-dev Repository: https://colinpshea.r-universe.dev Date/Publication: 2026-07-02 16:12:01 UTC RemoteUrl: https://github.com/colinpshea/GLAMMGoF RemoteRef: HEAD RemoteSha: 23d7e5f094269c7574d3960357c7aaae5c97f079 NeedsCompilation: no Packaged: 2026-07-02 16:28:47 UTC; root Author: Colin Shea [aut, cre] (ORCID: ) Maintainer: Colin Shea