{
  "_id": "6a63172cd3420cf5dfdb6f8a",
  "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-07-24 06:36:50 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/17ab506e972b4c6eae90295aed9e4ffd115198f4b3be1f6f026d315224a495e6",
  "_filesize": 372309,
  "_sha256": "17ab506e972b4c6eae90295aed9e4ffd115198f4b3be1f6f026d315224a495e6",
  "_expires": "2026-11-01T07:41:30.000Z",
  "_created": "2026-07-24T06:36:50.000Z",
  "_published": "2026-07-24T07:41:32.501Z",
  "_jobs": [
    {
      "job": 89417066174,
      "time": 106,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8588685568"
    },
    {
      "job": 89417066192,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8588690762"
    },
    {
      "job": 89417066184,
      "time": 109,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8588686492"
    },
    {
      "job": 89417066166,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8588703121"
    },
    {
      "job": 89417066197,
      "time": 123,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8589829893"
    },
    {
      "job": 89417066182,
      "time": 162,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8589969184"
    },
    {
      "job": 89417066170,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589793714"
    },
    {
      "job": 89417066180,
      "time": 217,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589886194"
    },
    {
      "job": 89416650501,
      "time": 163,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8588652832"
    },
    {
      "job": 89417066155,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8588685832"
    },
    {
      "job": 89417066171,
      "time": 87,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8588680201"
    },
    {
      "job": 89417066212,
      "time": 88,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8588680245"
    },
    {
      "job": 89417066156,
      "time": 110,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8588686564"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348",
  "_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-34",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.22-6",
      "date": "2025-08-22"
    },
    {
      "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": 29713,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gam"
  },
  "_mentions": 112,
  "_searchresults": 2912,
  "_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/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.879641979762866,
  "_indexed": true,
  "_nocasepkg": "gam",
  "_universes": [
    "trevorhastie"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-07-24T06:38:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/d5818972f1c05df6cac8a6476cb03b41757b12a20172dc4464e328c4d7b541ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-07-24T06:39:08.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/37de48dddb48625caa61523bd7d2be83bd562a02d11c5c171a0cca3fdfdfb700",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-07-24T06:38:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/ce8a08559fce6358158aa9bba99055cad57616294ab19004347fb3ae03c0c34b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-07-24T06:39:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/fb0de1013ff7f287c180b8a78ed44c47831170b19ec9bb15f0089b91fb0f7223",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-07-24T07:34:15.000Z",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/3914e5a7808382960a0038e212771de7b51e21761d8d73dbb9b137ff17f028c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-07-24T07:40:28.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/4dc46eecd583d83328bfdb385257a0c7c2eb2e45deeed44946214db5549f756b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-07-24T07:32:37.000Z",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/439a933a04f03d237290121d2572449bc19fe74be8db7735d107248c5c7da0b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-07-24T07:36:39.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/16a4bb5980660b9b3069e2b710c52782eea6d0566250f2bc10cada1f3804f762",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.22-7",
      "date": "2026-07-24T06:39:06.000Z",
      "arch": "emscripten",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/d71ea42ef231bc6ede32e2750de703241c6403c7c0a30fe37642d4786e372d4a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-07-24T06:38:12.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/1877d4216da9bb76fb5fded3a9bb0f76ebba47a427e903829746e5538874a0e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-07-24T06:38:13.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/6ce8d912f51a4c950044e62c4b23eed6adc5fcb1e7d84d2093aaf2e4327309e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-07-24T06:38:26.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "https://r2.ropensci.org/1fb216022452f929f8c93e9b7370aad3d6cd6c8df1da3801ef1925b43ca3eb99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/30072661348"
    }
  ]
}