Package: MapGAM 1.3-1

Scott Bartell

MapGAM: Mapping Smoothed Effect Estimates from Individual-Level Data

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).

Authors:Lu Bai [aut], Scott Bartell [aut, cre], Robin Bliss [aut], Veronica Vieira [aut]

MapGAM_1.3-1.tar.gz
MapGAM_1.3-1.zip(r-4.7-any)MapGAM_1.3-1.zip(r-4.6-any)MapGAM_1.3-1.zip(r-4.5-any)
MapGAM_1.3-1.tgz(r-4.6-any)MapGAM_1.3-1.tgz(r-4.5-any)
MapGAM_1.3-1.tar.gz(r-4.7-any)MapGAM_1.3-1.tar.gz(r-4.6-any)
MapGAM_1.3-1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
MapGAM/json (API)

# Install 'MapGAM' in R:
install.packages('MapGAM', repos = c('https://cranhaven.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cranhaven/cranhaven.r-universe.dev/issues

Datasets:
  • beertweets - Geocoded Tweets with Beer Indicator
  • CAdata - Deidentified Survival Data for California
  • CAgrid - A Grid on State of California
  • CAmap - Map of California
  • MAdata - Synthetic Case-Control Data for Massachusetts
  • MAmap - Map of Massachusetts

On CRAN:

Conda:

archivedpackagesr-universe

3.45 score 5 stars 1 packages 62 scripts 215 downloads 3 mentions 25 exports 21 dependencies

Last updated from:ab4d3342ea (on package/MapGAM). Checks:7 ERROR, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develERROR141
source / vignettesOK224
linux-releaseERROR141
macos-releaseERROR121
macos-oldrelERROR123
windows-develERROR106
windows-releaseERROR99
windows-oldrelERROR113
wasm-releaseOK101

Exports:AIC.modgamcoef.gamcoxcoef.modgamcolormapdlsformula.gamcoxformula.modgamgamcoxgamcox.fitMapGAM.versionmodgammypredict.gamoptspanplot.modgampredgridpredict.gamcoxprint.gamcoxprint.modgamresiduals.gamcoxresiduals.modgamsampcontsummary.gamcoxsummary.modgamtoformulatrimdata

Dependencies:classclassIntcodetoolscolorspaceDBIe1071foreachgamiteratorsKernSmoothlatticeMatrixPBSmappingproxyRcpps2sfspsurvivalunitswk

Readme and manuals

Help Manual

Help pageTopics
Mapping Smoothed Effect Estimates from Individual-Level Spatial DataMapGAM-package MapGAM
AIC of the 'modgam' ObjectAIC.modgam
Geocoded Tweets with Beer Indicatorbeertweets
Deidentified Survival Data for CaliforniaCAdata
A Grid on State of CaliforniaCAgrid
Map of CaliforniaCAmap
Coefficents of the 'gamcox' Objectcoef.gamcox
Coefficients of the 'modgam' Objectcoef.modgam
Maps Predicted Values and Clusters on a Two-Dimentional Mapcolormap
Calculating Derivatives of Partial Likelihood for Cox Proportional Hazard Additive Modelsdls
Formula of the 'gamcox' Objectformula.gamcox
Formula of the 'modgam' Objectformula.modgam
Fit a Cox Additive Model with a Two-Dimensional Smoothgamcox gamcox.fit
Synthetic Case-Control Data for MassachusettsMAdata
Map of MassachusettsMAmap
Revision Dates for MapGAM FunctionsMapGAM.version
Fit a Generalized Additive Model (GAM) with a Two-Dimensional Smooth and Make Predictionsmodgam
Prediction for GAM Fitsmypredict.gam
Determine the Optimal Span Size for 'modgam'optspan
Maps Predicted Values and Clusters for 'modgam' Objectsplot.modgam
Create a Grid and Clip It to a Map and Data Boundspredgrid
Prediction Method for 'gamcox' Fitspredict.gamcox
Print the 'gamcox' Objectprint.gamcox
Print the 'modgam' Objectprint.modgam
Residuals of the 'gamcox' Objectresiduals.gamcox
Residuals of the 'modgam' Objectresiduals.modgam
Unmatched Control Samplingsampcont
Summarize the 'gamcox' Objectsummary.gamcox
Summarize the 'modgam' Objectsummary.modgam
Build a Formula Based on Data for 'modgam' Functiontoformula
Trim a Data Set To Map Boundariestrimdata