Package: MapGAM
Type: Package
Title: Mapping Smoothed Effect Estimates from Individual-Level Data
Version: 1.3-1
Date: 2025-08-03
Authors@R: c(person(given = "Lu",
                        family = "Bai",
                        role = "aut"),
                 person(given = "Scott",
                        family = "Bartell",
                        role = c("aut", "cre"),
                        email = "sbartell@uci.edu",
			comment = c(ORCID = "0000-0001-7797-2906")),
                 person(given = "Robin",
                        family = "Bliss",
                        role = "aut"),
                 person(given = "Veronica",
                        family = "Vieira",
                        role = "aut"))
Description: Contains functions for mapping odds ratios, hazard ratios, or other effect estimates using individual-level data such as case-control study data, using generalized additive models (GAMs) or Cox models for smoothing with a two-dimensional predictor (e.g., geolocation or exposure to chemical mixtures) while adjusting linearly for confounding variables, using methods described by Kelsall and Diggle (1998), Webster at al. (2006), and Bai et al. (2020).  Includes convenient functions for mapping point estimates and confidence intervals, efficient control sampling, and permutation tests for the null hypothesis that the two-dimensional predictor is not associated with the outcome variable (adjusting for confounders).     
License: GPL-3
Depends: R (>= 2.10.0), sp, gam, survival
Imports: sf, colorspace, PBSmapping
Suggests: maps, mapproj
NeedsCompilation: no
Packaged: 2025-08-04 03:42:09 UTC; sbartell
Author: Lu Bai [aut],
  Scott Bartell [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-7797-2906>),
  Robin Bliss [aut],
  Veronica Vieira [aut]
Maintainer: Scott Bartell <sbartell@uci.edu>
Repository: CRAN
Date/Publication: 2025-09-03 09:50:10 UTC
Built: R 4.7.0; ; 2026-05-29 03:23:13 UTC; windows
