{
  "_id": "6ab7a1cd99f7aa8c6aa331ec",
  "Package": "gam",
  "Type": "Package",
  "Title": "Generalized Additive Models",
  "Date": "2025-12-08",
  "Version": "1.22-7",
  "Authors@R": "c(person(given = \"Trevor\",\nfamily = \"Hastie\",\nrole = c(\"aut\", \"cre\"),\nemail = \"hastie@stanford.edu\"),\nperson(\"Balasubramanian\", \"Narasimhan\", role=c(\"ctb\")))",
  "Description": "Functions for fitting and working with generalized\nadditive models, as described in chapter 7 of \"Statistical\nModels in S\" (Chambers and Hastie (eds), 1991), and\n\"Generalized Additive Models\" (Hastie and Tibshirani, 1990).",
  "License": "GPL-2",
  "RoxygenNote": "7.3.3",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-26 10:39:06 UTC",
    "User": "root"
  },
  "Author": "Trevor Hastie [aut, cre], Balasubramanian Narasimhan [ctb]",
  "Maintainer": "Trevor Hastie <hastie@stanford.edu>",
  "Repository": "https://trevorhastie.r-universe.dev",
  "Date/Publication": "2025-12-10 09:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/gam",
  "RemoteRef": "HEAD",
  "RemoteSha": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
  "_user": "trevorhastie",
  "_type": "src",
  "_file": "gam_1.22-7.tar.gz",
  "_fileid": "https://r2.ropensci.org/2d3bfebc85bf0e82ebe6f5375c25e91d4db8f94d44746098467c48693b3a9516",
  "_filesize": 372394,
  "_sha256": "2d3bfebc85bf0e82ebe6f5375c25e91d4db8f94d44746098467c48693b3a9516",
  "_expires": "2027-01-04T10:43:23.000Z",
  "_created": "2026-09-26T10:39:06.000Z",
  "_published": "2026-09-26T10:43:25.238Z",
  "_jobs": [
    {
      "job": 108388984804,
      "time": 107,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10903739321"
    },
    {
      "job": 108388984770,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10903774284"
    },
    {
      "job": 108388984792,
      "time": 149,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10904427243"
    },
    {
      "job": 108388984778,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10904471933"
    },
    {
      "job": 108388984795,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10904387419"
    },
    {
      "job": 108388984808,
      "time": 179,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10903834986"
    },
    {
      "job": 108388984853,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10904297723"
    },
    {
      "job": 108388984875,
      "time": 154,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10903879664"
    },
    {
      "job": 108388578659,
      "time": 178,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10904292482"
    },
    {
      "job": 108388984761,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10904515548"
    },
    {
      "job": 108388984851,
      "time": 216,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10904113368"
    },
    {
      "job": 108388984920,
      "time": 128,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10904118252"
    },
    {
      "job": 108388984852,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10903889687"
    },
    {
      "job": 108388984850,
      "time": 178,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10904063549"
    },
    {
      "job": 108388984830,
      "time": 88,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10904013526"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603",
  "_status": "success",
  "_upstream": "https://github.com/cran/gam",
  "_commit": {
    "id": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
    "author": "Trevor Hastie <hastie@stanford.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.22-7\n",
    "time": 1765359602
  },
  "_maintainer": {
    "name": "Trevor Hastie",
    "email": "hastie@stanford.edu",
    "login": "trevorhastie",
    "description": "",
    "uuid": 13293253
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "splines",
      "role": "Depends"
    },
    {
      "package": "foreach",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "interp",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 73,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.22-7",
      "date": "2025-12-10"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "trevorhastie",
      "count": 37,
      "uuid": 13293253
    }
  ],
  "_userbio": {
    "uuid": 13293253,
    "type": "user",
    "name": "trevorhastie",
    "followers": 102
  },
  "_downloads": {
    "count": 43591,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gam"
  },
  "_mentions": 112,
  "_searchresults": 2656,
  "_topics": [
    "openblas"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gam.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_realowner": "trevorhastie",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.9",
      "date": "2004-08-11"
    },
    {
      "version": "0.92",
      "date": "2004-12-27"
    },
    {
      "version": "0.93",
      "date": "2005-03-28"
    },
    {
      "version": "0.94",
      "date": "2005-06-04"
    },
    {
      "version": "0.95",
      "date": "2006-04-19"
    },
    {
      "version": "0.96",
      "date": "2006-04-27"
    },
    {
      "version": "0.97",
      "date": "2006-07-12"
    },
    {
      "version": "0.98",
      "date": "2006-12-27"
    },
    {
      "version": "1.0",
      "date": "2008-05-29"
    },
    {
      "version": "1.0.1",
      "date": "2009-09-12"
    },
    {
      "version": "1.01",
      "date": "2009-10-21"
    },
    {
      "version": "1.02",
      "date": "2010-04-25"
    },
    {
      "version": "1.03",
      "date": "2010-05-01"
    },
    {
      "version": "1.04",
      "date": "2011-01-03"
    },
    {
      "version": "1.04.1",
      "date": "2011-05-16"
    },
    {
      "version": "1.06.2",
      "date": "2011-12-06"
    },
    {
      "version": "1.08",
      "date": "2013-04-24"
    },
    {
      "version": "1.09",
      "date": "2013-08-13"
    },
    {
      "version": "1.09.1",
      "date": "2014-04-10"
    },
    {
      "version": "1.12",
      "date": "2015-05-13"
    },
    {
      "version": "1.14",
      "date": "2016-09-10"
    },
    {
      "version": "1.14-3",
      "date": "2017-04-21"
    },
    {
      "version": "1.14-4",
      "date": "2017-04-25"
    },
    {
      "version": "1.15",
      "date": "2018-02-25"
    },
    {
      "version": "1.16",
      "date": "2018-07-20"
    },
    {
      "version": "1.16.1",
      "date": "2019-07-03"
    },
    {
      "version": "1.20",
      "date": "2020-07-05"
    },
    {
      "version": "1.20.1",
      "date": "2022-03-14"
    },
    {
      "version": "1.20.2",
      "date": "2022-07-04"
    },
    {
      "version": "1.22",
      "date": "2022-11-08"
    },
    {
      "version": "1.22-1",
      "date": "2023-01-28"
    },
    {
      "version": "1.22-2",
      "date": "2023-03-28"
    },
    {
      "version": "1.22-3",
      "date": "2023-11-29"
    },
    {
      "version": "1.22-4",
      "date": "2024-07-18"
    },
    {
      "version": "1.22-5",
      "date": "2024-09-12"
    },
    {
      "version": "1.22-6",
      "date": "2025-08-22"
    },
    {
      "version": "1.22-7",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "anova.Gam",
    "anova.Gamlist",
    "as.anova",
    "as.data.frame.lo.smooth",
    "assign.list",
    "gam",
    "gam.control",
    "gam.exact",
    "gam.fit",
    "gam.lo",
    "gam.match",
    "gam.nlchisq",
    "gam.random",
    "gam.s",
    "gam.scope",
    "gam.smooth.list",
    "gam.smoothers",
    "gam.sp",
    "Gamlist",
    "general.wam",
    "gplot",
    "gplot.factor",
    "gplot.list",
    "gplot.matrix",
    "gplot.numeric",
    "labels.Gam",
    "lo",
    "lo.wam",
    "na.gam.replace",
    "newdata.predict.Gam",
    "plot.Gam",
    "plot.preplot.Gam",
    "polylo",
    "predict.Gam",
    "preplot.Gam",
    "print.Gam",
    "print.Gamex",
    "print.summary.Gam",
    "random",
    "s",
    "s.wam",
    "step.Gam",
    "summary.Gam",
    "ylim.scale"
  ],
  "_datasets": [
    {
      "name": "gam.data",
      "title": "Simulated dataset for gam",
      "object": "gam.data",
      "file": "gam.data.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y",
        "z",
        "f",
        "probf",
        "ybin",
        "ybin2"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "gam.newdata",
      "title": "Simulated dataset for gam",
      "object": "gam.newdata",
      "file": "gam.newdata.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "z"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    },
    {
      "name": "kyphosis",
      "title": "A classic example dataset for GAMs",
      "object": "kyphosis",
      "file": "kyphosis.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Kyphosis",
        "Age",
        "Number",
        "Start"
      ],
      "rows": 81,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "gam-package",
      "title": "Generalized Additive Models",
      "topics": [
        "gam-package"
      ]
    },
    {
      "page": "anova.gam",
      "title": "Analysis of Deviance for a Generalized Additive Model",
      "topics": [
        "anova.Gam",
        "summary.Gam"
      ]
    },
    {
      "page": "gam",
      "title": "Fitting Generalized Additive Models",
      "topics": [
        "gam",
        "gam.fit"
      ]
    },
    {
      "page": "gam.control",
      "title": "Auxilliary for controlling GAM fitting",
      "topics": [
        "gam.control"
      ]
    },
    {
      "page": "gam.data",
      "title": "Simulated dataset for gam",
      "topics": [
        "gam.data",
        "gam.newdata"
      ]
    },
    {
      "page": "gam.exact",
      "title": "A method for gam producing asymptotically exact standard errors for linear estimates",
      "topics": [
        "gam.exact"
      ]
    },
    {
      "page": "lo",
      "title": "Specify a loess fit in a GAM formula",
      "topics": [
        "gam.lo",
        "lo"
      ]
    },
    {
      "page": "gam.random",
      "title": "Specify a Random Effects Fit in a GAM Formula",
      "topics": [
        "gam.random",
        "random"
      ]
    },
    {
      "page": "gam.s",
      "title": "Specify a Smoothing Spline Fit in a GAM Formula",
      "topics": [
        "gam.s",
        "s"
      ]
    },
    {
      "page": "gam.scope",
      "title": "Generate a scope for step.Gam",
      "topics": [
        "gam.scope"
      ]
    },
    {
      "page": "gam.smoothers",
      "title": "Smoothers available for backfitting",
      "topics": [
        "gam.smooth.list",
        "gam.smoothers"
      ]
    },
    {
      "page": "kyphosis",
      "title": "A classic example dataset for GAMs",
      "topics": [
        "kyphosis"
      ]
    },
    {
      "page": "na.gam.replace",
      "title": "Missing Data Filter for GAMs",
      "topics": [
        "na.gam.replace"
      ]
    },
    {
      "page": "plot.gam",
      "title": "Plot Components of a GAM Object",
      "topics": [
        "plot.Gam",
        "plot.preplot.Gam",
        "preplot.Gam"
      ]
    },
    {
      "page": "predict.gam",
      "title": "Predict method for GAM fits",
      "topics": [
        "predict.Gam"
      ]
    },
    {
      "page": "step.gam",
      "title": "Stepwise model builder for GAM",
      "topics": [
        "step.Gam"
      ]
    }
  ],
  "_readme": "https://github.com/cran/gam/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "foreach",
    "iterators"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    }
  ],
  "_score": 9.705099013271225,
  "_indexed": true,
  "_nocasepkg": "gam",
  "_universes": [
    "trevorhastie"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-09-26T10:41:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/0740cdf4bb4da463cf8290014a67849e1b71bc15671d15cddff762ba4b6a6db6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-09-26T10:41:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/1c8ad34d26404ed4a18b74db7ad50d6809e4d6f108d74ad8102e1e7b211a86db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-09-26T10:41:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/c1285bdf8848bbc26c2db4108f5392aba6ad9e6196bdf2785907a23657811da8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-09-26T10:41:12.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/58daa742a1723bc960197d69fc848a3b408032fc2002f19c3ee434d9ff0826e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-09-26T10:41:02.000Z",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/7f3bd2d1e938c98f4262503d9d6d4e3206a365b0afaa3110df939939686525da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-09-26T10:41:49.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/911540647aebdfb31b23159f7af76b667093ff69151d58e8287637146597c0db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-09-26T10:41:09.000Z",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/3ad4e7a3c8df95284cfb0d265f546ba5ab506ad22d1c74b774d2be454281646a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-09-26T10:41:27.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/249bc7c6c2461c5294b91b33325c8d6ad4ff41b12c5ed10c461a4c6ace91031e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.22-7",
      "date": "2026-09-26T10:41:08.000Z",
      "arch": "emscripten",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/5a9acd912fad14d6f0b251b403083953b23972d8f657ca2448237ac19523a949",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-09-26T10:42:28.000Z",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/18201e8368a6714e564a7eecefe03a4b529cfd4b2d4368938598e15365eecb43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-09-26T10:40:16.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/544b964cd5900b16f1fcf01f46407eae529a0c651ab748986695ab35b2331eaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-09-26T10:40:08.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/45985228cfe30913b59e28c277c5fbcaaf3d3be1864dc93a15f2f22406040235",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-09-26T10:41:52.000Z",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/4aa3770191153afcbc279c7bab0ac8edfc10c7f08c3295ec4f1ab3ef5c56ad2e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-09-26T10:40:16.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/894f25d4e6732123c07de129239763a6f92cb1412c94b74878cdb395601827a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/36236284603"
    }
  ]
}