{
  "_id": "6a267c02794753ddbc3eefbc",
  "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 08:19:51 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",
  "MD5sum": "2044e1af9fe0ef127bf2b076a8623045",
  "_user": "trevorhastie",
  "_type": "src",
  "_file": "gam_1.22-7.tar.gz",
  "_fileid": "d8b5eb188a6716261b0239b5fdea5e6e577dbb36c5437895902f6feb228dff24",
  "_filesize": 372995,
  "_sha256": "d8b5eb188a6716261b0239b5fdea5e6e577dbb36c5437895902f6feb228dff24",
  "_created": "2026-06-08T08:19:51.000Z",
  "_published": "2026-06-08T08:23:30.209Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80050968805,
      "time": 150,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474913709"
    },
    {
      "job": 80050968940,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474900793"
    },
    {
      "job": 80050968857,
      "time": 135,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474909087"
    },
    {
      "job": 80050968845,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474907699"
    },
    {
      "job": 80050968814,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7474906710"
    },
    {
      "job": 80050968850,
      "time": 172,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7474919409"
    },
    {
      "job": 80050968875,
      "time": 124,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474904015"
    },
    {
      "job": 80050968839,
      "time": 150,
      "config": "macos-release-x86_64",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80050413219,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474863842"
    },
    {
      "job": 80050968792,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474896313"
    },
    {
      "job": 80050968806,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474895048"
    },
    {
      "job": 80050968842,
      "time": 42,
      "config": "windows-oldrel",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80050968820,
      "time": 40,
      "config": "windows-release",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/27124762040",
  "_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",
    "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": 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"
  },
  "_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": true,
  "_nocasepkg": "gam",
  "_universes": [
    "trevorhastie"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-05-09T07:41:42.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "2c77ae3fa60b6d9bb39ba4f6dd7a7091cebcb67e2d755ef7f0d7f9bac276a1c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/25595494737"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-05-09T07:40:01.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "7f94c61797ceee5ef11c577c08776bea20e80dca46fc5af8d6927974be53426e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/25595494737"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-05-09T07:39:56.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "f36e15c7d08cbe76cdd389d9277eb6a2a290f58124306a0315454a385e349ee9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/25595494737"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-06-08T08:22:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "bb97b49a474614acca553c5ce9a28a817c2ce941aea3b131ec090936759f8139",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/27124762040"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-06-08T08:21:54.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "019030d443e23846d5b8841002a587daee054c6414623fa7043df64c57755249",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/27124762040"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-06-08T08:22:23.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "3027ba17c8d86ca8c35ce27282264fb1dddcd05712d94e7ce03ae90842d29740",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/27124762040"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.22-7",
      "date": "2026-06-08T08:22:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "a2a4d6e206dfadf5b85d8709f930c23ac27f9b3248c584a308ea64cdea9aaaf4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/27124762040"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-06-08T08:22:09.000Z",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "ef83fa82977c510b80da01e51a9288df045f40ac28a6927a86abf2cffcf3ac25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/27124762040"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-06-08T08:22:33.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "6dbfcae6867ba0eda86b22a9b9e7607e0efcb47bb7d91655637075a5daaa4208",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/27124762040"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.22-7",
      "date": "2026-06-08T08:21:59.000Z",
      "arch": "aarch64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "d1da110f688e1a2f159c77a552d580965c716b046919b5ad10e2f9832d6da116",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/27124762040"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.22-7",
      "date": "2026-06-08T08:21:54.000Z",
      "arch": "emscripten",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "1266acffa8f9fd2494ab4b907381427369001375abb67f853ee6481e5e2bef4d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/27124762040"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.22-7",
      "date": "2026-06-08T08:21:14.000Z",
      "arch": "x86_64",
      "commit": "0d8107323a9abaf0baf27fda4a6927566fa538eb",
      "fileid": "6551a102ac44191f24968b4e19d1b0116e360f6267757bdc5a0e8cb8032a0ceb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorhastie/actions/runs/27124762040"
    }
  ]
}