{
  "_id": "6a1d281c1d7bb097a0a383b8",
  "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\",\nfamily = \"Bai\",\nrole = \"aut\"),\nperson(given = \"Scott\",\nfamily = \"Bartell\",\nrole = c(\"aut\", \"cre\"),\nemail = \"sbartell@uci.edu\",\ncomment = c(ORCID = \"0000-0001-7797-2906\")),\nperson(given = \"Robin\",\nfamily = \"Bliss\",\nrole = \"aut\"),\nperson(given = \"Veronica\",\nfamily = \"Vieira\",\nrole = \"aut\"))",
  "Description": "Contains functions for mapping odds ratios, hazard ratios,\nor other effect estimates using individual-level data such as\ncase-control study data, using generalized additive models\n(GAMs) or Cox models for smoothing with a two-dimensional\npredictor (e.g., geolocation or exposure to chemical mixtures)\nwhile adjusting linearly for confounding variables, using\nmethods described by Kelsall and Diggle (1998), Webster at al.\n(2006), and Bai et al. (2020).  Includes convenient functions\nfor mapping point estimates and confidence intervals, efficient\ncontrol sampling, and permutation tests for the null hypothesis\nthat the two-dimensional predictor is not associated with the\noutcome variable (adjusting for confounders).",
  "License": "GPL-3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-31 08:41:33 UTC",
    "User": "root"
  },
  "Author": "Lu Bai [aut], Scott Bartell [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7797-2906>), Robin Bliss [aut],\nVeronica Vieira [aut]",
  "Maintainer": "Scott Bartell <sbartell@uci.edu>",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://smbartell.r-universe.dev",
  "Date/Publication": "2025-09-03 09:50:10 UTC",
  "RemoteUrl": "https://github.com/cran/MapGAM",
  "RemoteRef": "HEAD",
  "RemoteSha": "cce4fb1a2725e8468bba3af8c6ac03584b02706a",
  "MD5sum": "93cf0ad571ec05a74a86c381a7a64771",
  "_user": "smbartell",
  "_type": "src",
  "_file": "MapGAM_1.3-1.tar.gz",
  "_fileid": "e0f70bf220f585bf52e7ffcccf05c3fd5fe804aadee74ee5a29d5d3387c6d0c6",
  "_filesize": 1674969,
  "_sha256": "e0f70bf220f585bf52e7ffcccf05c3fd5fe804aadee74ee5a29d5d3387c6d0c6",
  "_created": "2026-05-31T08:41:33.000Z",
  "_published": "2026-06-01T06:35:08.264Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78798407699,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315325531"
    },
    {
      "job": 78798407934,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315324398"
    },
    {
      "job": 78798407856,
      "time": 173,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315325048"
    },
    {
      "job": 78798407543,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7324821230"
    },
    {
      "job": 78798407874,
      "time": 175,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315309264"
    },
    {
      "job": 78798407716,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315320859"
    },
    {
      "job": 78798407942,
      "time": 118,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315321502"
    },
    {
      "job": 78798407826,
      "time": 107,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315320684"
    },
    {
      "job": 78798407719,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315320654"
    }
  ],
  "_buildurl": "https://github.com/r-universe/smbartell/actions/runs/26707917392",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/MapGAM",
  "_commit": {
    "id": "cce4fb1a2725e8468bba3af8c6ac03584b02706a",
    "author": "Scott Bartell <sbartell@uci.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.3-1\n",
    "time": 1756893010
  },
  "_maintainer": {
    "name": "Scott Bartell",
    "email": "sbartell@uci.edu",
    "login": "smbartell",
    "description": "Professor, Program in Public Health and Department of Statistics",
    "uuid": 63754608,
    "orcid": "0000-0001-7797-2906"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10.0",
      "role": "Depends"
    },
    {
      "package": "sp",
      "role": "Depends"
    },
    {
      "package": "gam",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "colorspace",
      "role": "Imports"
    },
    {
      "package": "PBSmapping",
      "role": "Imports"
    },
    {
      "package": "maps",
      "role": "Suggests"
    },
    {
      "package": "mapproj",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-36",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.3-1",
      "date": "2025-09-03"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "smbartell",
      "count": 14,
      "uuid": 63754608
    }
  ],
  "_userbio": {
    "uuid": 63754608,
    "type": "user",
    "name": "Scott Bartell",
    "description": "Professor, Program in Public Health and Department of Statistics"
  },
  "_downloads": {
    "count": 278,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MapGAM"
  },
  "_mentions": 3,
  "_searchresults": 59,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MapGAM.html",
    "manual.pdf"
  ],
  "_realowner": "smbartell",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.6",
      "date": "2012-12-18"
    },
    {
      "version": "0.6-1",
      "date": "2012-12-24"
    },
    {
      "version": "0.6-2",
      "date": "2013-03-11"
    },
    {
      "version": "0.7-0",
      "date": "2013-12-12"
    },
    {
      "version": "0.7-4",
      "date": "2014-12-10"
    },
    {
      "version": "0.7-5",
      "date": "2015-05-03"
    },
    {
      "version": "1.0",
      "date": "2016-09-03"
    },
    {
      "version": "1.1",
      "date": "2018-04-10"
    },
    {
      "version": "1.2",
      "date": "2018-07-25"
    },
    {
      "version": "1.2-4",
      "date": "2019-01-22"
    },
    {
      "version": "1.2-5",
      "date": "2019-07-27"
    },
    {
      "version": "1.2-6",
      "date": "2022-05-26"
    },
    {
      "version": "1.3",
      "date": "2023-07-15"
    },
    {
      "version": "1.3-1",
      "date": "2025-09-03"
    }
  ],
  "_exports": [
    "AIC.modgam",
    "coef.gamcox",
    "coef.modgam",
    "colormap",
    "dls",
    "formula.gamcox",
    "formula.modgam",
    "gamcox",
    "gamcox.fit",
    "MapGAM.version",
    "modgam",
    "mypredict.gam",
    "optspan",
    "plot.modgam",
    "predgrid",
    "predict.gamcox",
    "print.gamcox",
    "print.modgam",
    "residuals.gamcox",
    "residuals.modgam",
    "sampcont",
    "summary.gamcox",
    "summary.modgam",
    "toformula",
    "trimdata"
  ],
  "_datasets": [
    {
      "name": "beertweets",
      "title": "Geocoded Tweets with Beer Indicator",
      "object": "beertweets",
      "file": "beertweets.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "beer",
        "longitude",
        "latitude",
        "state",
        "time"
      ],
      "rows": 10000,
      "table": false,
      "tojson": true
    },
    {
      "name": "CAdata",
      "title": "Deidentified Survival Data for California",
      "object": "CAdata",
      "file": "CAdata.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "event",
        "X",
        "Y",
        "AGE",
        "INS"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    },
    {
      "name": "CAgrid",
      "title": "A Grid on State of California",
      "object": "CAgrid",
      "file": "CAgrid.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "Y"
      ],
      "rows": 7579,
      "table": true,
      "tojson": true
    },
    {
      "name": "CAmap",
      "title": "Map of California",
      "object": "CAmap",
      "file": "CAmap.rda",
      "class": [
        "SpatialPolygonsDataFrame"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "MAdata",
      "title": "Synthetic Case-Control Data for Massachusetts",
      "object": "MAdata",
      "file": "MAdata.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Case",
        "Xcoord",
        "Ycoord",
        "Smoking",
        "Mercury",
        "Selenium"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "MAmap",
      "title": "Map of Massachusetts",
      "object": "MAmap",
      "file": "MAmap.rda",
      "class": [
        "SpatialPolygonsDataFrame"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "MapGAM-package",
      "title": "Mapping Smoothed Effect Estimates from Individual-Level Spatial Data",
      "topics": [
        "MapGAM-package",
        "MapGAM"
      ]
    },
    {
      "page": "AIC.modgam",
      "title": "AIC of the 'modgam' Object",
      "topics": [
        "AIC.modgam"
      ]
    },
    {
      "page": "beertweets",
      "title": "Geocoded Tweets with Beer Indicator",
      "topics": [
        "beertweets"
      ]
    },
    {
      "page": "CAdata",
      "title": "Deidentified Survival Data for California",
      "topics": [
        "CAdata"
      ]
    },
    {
      "page": "CAgrid",
      "title": "A Grid on State of California",
      "topics": [
        "CAgrid"
      ]
    },
    {
      "page": "CAmap",
      "title": "Map of California",
      "topics": [
        "CAmap"
      ]
    },
    {
      "page": "coef.gamcox",
      "title": "Coefficents of the 'gamcox' Object",
      "topics": [
        "coef.gamcox"
      ]
    },
    {
      "page": "coef.modgam",
      "title": "Coefficients of the 'modgam' Object",
      "topics": [
        "coef.modgam"
      ]
    },
    {
      "page": "colormap",
      "title": "Maps Predicted Values and Clusters on a Two-Dimentional Map",
      "topics": [
        "colormap"
      ]
    },
    {
      "page": "dls",
      "title": "Calculating Derivatives of Partial Likelihood for Cox Proportional Hazard Additive Models",
      "topics": [
        "dls"
      ]
    },
    {
      "page": "formula.gamcox",
      "title": "Formula of the 'gamcox' Object",
      "topics": [
        "formula.gamcox"
      ]
    },
    {
      "page": "formula.modgam",
      "title": "Formula of the 'modgam' Object",
      "topics": [
        "formula.modgam"
      ]
    },
    {
      "page": "gamcox",
      "title": "Fit a Cox Additive Model with a Two-Dimensional Smooth",
      "topics": [
        "gamcox",
        "gamcox.fit"
      ]
    },
    {
      "page": "MAdata",
      "title": "Synthetic Case-Control Data for Massachusetts",
      "topics": [
        "MAdata"
      ]
    },
    {
      "page": "MAmap",
      "title": "Map of Massachusetts",
      "topics": [
        "MAmap"
      ]
    },
    {
      "page": "MapGAM.version",
      "title": "Revision Dates for MapGAM Functions",
      "topics": [
        "MapGAM.version"
      ]
    },
    {
      "page": "modgam",
      "title": "Fit a Generalized Additive Model (GAM) with a Two-Dimensional Smooth and Make Predictions",
      "topics": [
        "modgam"
      ]
    },
    {
      "page": "mypredict.gam",
      "title": "Prediction for GAM Fits",
      "topics": [
        "mypredict.gam"
      ]
    },
    {
      "page": "optspan",
      "title": "Determine the Optimal Span Size for 'modgam'",
      "topics": [
        "optspan"
      ]
    },
    {
      "page": "plot.modgam",
      "title": "Maps Predicted Values and Clusters for 'modgam' Objects",
      "topics": [
        "plot.modgam"
      ]
    },
    {
      "page": "predgrid",
      "title": "Create a Grid and Clip It to a Map and Data Bounds",
      "topics": [
        "predgrid"
      ]
    },
    {
      "page": "predict.gamcox",
      "title": "Prediction Method for 'gamcox' Fits",
      "topics": [
        "predict.gamcox"
      ]
    },
    {
      "page": "print.gamcox",
      "title": "Print the 'gamcox' Object",
      "topics": [
        "print.gamcox"
      ]
    },
    {
      "page": "print.modgam",
      "title": "Print the 'modgam' Object",
      "topics": [
        "print.modgam"
      ]
    },
    {
      "page": "residuals.gamcox",
      "title": "Residuals of the 'gamcox' Object",
      "topics": [
        "residuals.gamcox"
      ]
    },
    {
      "page": "residuals.modgam",
      "title": "Residuals of the 'modgam' Object",
      "topics": [
        "residuals.modgam"
      ]
    },
    {
      "page": "sampcont",
      "title": "Unmatched Control Sampling",
      "topics": [
        "sampcont"
      ]
    },
    {
      "page": "summary.gamcox",
      "title": "Summarize the 'gamcox' Object",
      "topics": [
        "summary.gamcox"
      ]
    },
    {
      "page": "summary.modgam",
      "title": "Summarize the 'modgam' Object",
      "topics": [
        "summary.modgam"
      ]
    },
    {
      "page": "toformula",
      "title": "Build a Formula Based on Data for 'modgam' Function",
      "topics": [
        "toformula"
      ]
    },
    {
      "page": "trimdata",
      "title": "Trim a Data Set To Map Boundaries",
      "topics": [
        "trimdata"
      ]
    }
  ],
  "_rundeps": [
    "class",
    "classInt",
    "codetools",
    "colorspace",
    "DBI",
    "e1071",
    "foreach",
    "gam",
    "iterators",
    "KernSmooth",
    "lattice",
    "MASS",
    "Matrix",
    "PBSmapping",
    "proxy",
    "Rcpp",
    "s2",
    "sf",
    "sp",
    "survival",
    "units",
    "wk"
  ],
  "_score": 2.725094521081469,
  "_indexed": true,
  "_nocasepkg": "mapgam",
  "_universes": [
    "smbartell"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3-1",
      "date": "2026-05-31T08:43:46.000Z",
      "distro": "noble",
      "commit": "cce4fb1a2725e8468bba3af8c6ac03584b02706a",
      "fileid": "a21b9081ad3a7f4b727863fb455d9b21ee59e1f0c1f61b8797a73d739a406e10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/smbartell/actions/runs/26707917392"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3-1",
      "date": "2026-05-31T08:43:40.000Z",
      "distro": "noble",
      "commit": "cce4fb1a2725e8468bba3af8c6ac03584b02706a",
      "fileid": "9f914193ffcaa3581744818732fabd0a506ce70d6c8c1363c1d8f6db05361f33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/smbartell/actions/runs/26707917392"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3-1",
      "date": "2026-05-31T08:43:57.000Z",
      "commit": "cce4fb1a2725e8468bba3af8c6ac03584b02706a",
      "fileid": "bb5813c3f9dd514106707090ae30b009a7a89f925c4d4b0aecfb9640885df4d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/smbartell/actions/runs/26707917392"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3-1",
      "date": "2026-06-01T06:34:00.000Z",
      "commit": "cce4fb1a2725e8468bba3af8c6ac03584b02706a",
      "fileid": "acb7e6fa4396ac46da053ff4fe8023ab2b7c9318e98161ff5de1298f06b14246",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/smbartell/actions/runs/26707917392"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3-1",
      "date": "2026-05-31T08:43:45.000Z",
      "commit": "cce4fb1a2725e8468bba3af8c6ac03584b02706a",
      "fileid": "d991cf7274d6ca90e0c5c2b54b99d30729dd707724cf673ed033f8bf033a1b4c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/smbartell/actions/runs/26707917392"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3-1",
      "date": "2026-05-31T08:43:03.000Z",
      "commit": "cce4fb1a2725e8468bba3af8c6ac03584b02706a",
      "fileid": "902d388c36616932917d07780baef0e9067784052295a635bec361519969e548",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/smbartell/actions/runs/26707917392"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3-1",
      "date": "2026-05-31T08:42:56.000Z",
      "commit": "cce4fb1a2725e8468bba3af8c6ac03584b02706a",
      "fileid": "3d88ea5875fadd4212c1f2bd4d7fe3293228c4fa1366284343885338a9e11f4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/smbartell/actions/runs/26707917392"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3-1",
      "date": "2026-05-31T08:42:52.000Z",
      "commit": "cce4fb1a2725e8468bba3af8c6ac03584b02706a",
      "fileid": "dff120891b34f3ddafd8e15323594b89e8d440dcb9ad743a20a9e5ab0bc4ac44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/smbartell/actions/runs/26707917392"
    }
  ]
}