{
  "_id": "6a2687fb794753ddbc3f2809",
  "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-06-08 09:11:31 UTC",
    "User": "root"
  },
  "Author": "Trevor Hastie [aut, cre], Balasubramanian Narasimhan [ctb]",
  "Maintainer": "Trevor Hastie <hastie@stanford.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-12-10 09:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/gam",
  "RemoteRef": "HEAD",
  "RemoteSha": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
  "MD5sum": "09b56b153574681f7e90c7385277bf6b",
  "_user": "cran",
  "_type": "src",
  "_file": "gam_1.22-7.tar.gz",
  "_fileid": "f1b0d9baf49879f0fc2fb666a3138192be011fc33eb8e79c9596c2597aef9e69",
  "_filesize": 373021,
  "_sha256": "f1b0d9baf49879f0fc2fb666a3138192be011fc33eb8e79c9596c2597aef9e69",
  "_created": "2026-06-08T09:11:31.000Z",
  "_published": "2026-06-08T09:14:35.339Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80059891436,
      "time": 132,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7475990451"
    },
    {
      "job": 80059891446,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7475984774"
    },
    {
      "job": 80059891483,
      "time": 116,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475984973"
    },
    {
      "job": 80059891460,
      "time": 108,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475981204"
    },
    {
      "job": 80059163894,
      "time": 234,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475940696"
    },
    {
      "job": 80059891408,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475982021"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27127292553",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": false,
  "_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": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 32677,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gam"
  },
  "_mentions": 112,
  "_searchresults": 2904,
  "_topics": [
    "openblas"
  ],
  "_rbuild": "4.6.0",
  "_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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    }
  ],
  "_score": 9.919742896311986,
  "_indexed": false,
  "_nocasepkg": "gam",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://trevorhastie.r-universe.dev/gam",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-06-08T09:13:49.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "5975ffe82424d70b2d73e4ef24d2eaa958ab1a5cd79211f470e5f3e90a5322e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27127292553"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-06-08T09:13:30.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "77b5b690d01fd00192fe4c347d8a8da869c93ebadf9af71d2e91ef2fa972b3e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27127292553"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-06-08T09:13:34.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "09d2473854117632b7c486148e1c9d4d0bab27ec9ace15361f8f7c64f2cec7e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27127292553"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-06-08T09:13:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "d63785b7fe33bce2cb69a03ba3385d7b62fb056d609faad0db05329b3b06df11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27127292553"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.22-7",
      "date": "2026-06-08T09:13:36.000Z",
      "arch": "emscripten",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "e07bd11b7e9a9bbd7fd80a6acc0527735947f54d66c8838944d53ef3728ebb49",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27127292553"
    }
  ]
}