{
  "_id": "6a1f10d4b401979e7341d895",
  "Package": "gamtree",
  "Title": "GAM-based Recursive Partitioning",
  "Version": "0.0.3",
  "Authors@R": "person(\"Marjolein\", \"Fokkema\", email = \"m.fokkema@fsw.leidenuniv.nl\", role = c(\"aut\", \"cre\"))",
  "Description": "Recursively partitions the observations in a dataset,\nbased on the parameters of a generalized additive model (GAM).\nFunction splinetree implements partitioning based on parametric\nor non-penalized spline models. It offers faster computational\nspeed and more flexibility for modeling multilevel and\nlongitudinal data. Function gamtree implements partitioning\nbased on semi-parametric or penalized spline models, a.k.a.\nsmoothing splines. It requires less user involvement in\ncorrectly specifying the splines and knots, but has a heavier\ncomputational load and offers less flexibility in modeling\nmultilevel and longitudinal data. Packages mgcv and splines are\nused for spline and model estimation, packages partykit and\nmerDeriv are used for partitioning and derivative computations.",
  "License": "GPL-2 | GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://marjoleinf.r-universe.dev",
  "Date/Publication": "2025-04-09 12:17:18 UTC",
  "RemoteUrl": "https://github.com/marjoleinF/gamtree",
  "RemoteRef": "HEAD",
  "RemoteSha": "e13c3c8f24458ad05b64bc9e7e7339f7f7eb1368",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 08:01:09 UTC",
    "User": "root"
  },
  "Author": "Marjolein Fokkema [aut, cre]",
  "Maintainer": "Marjolein Fokkema <m.fokkema@fsw.leidenuniv.nl>",
  "MD5sum": "81e6359a8d9d0c45298ff85a269d9cc7",
  "_user": "marjoleinf",
  "_type": "src",
  "_file": "gamtree_0.0.3.tar.gz",
  "_fileid": "cb8d57f9c6e16ae08ce0dc8480f3901ecf7a1b347f57c9746d3164edfc298665",
  "_filesize": 432275,
  "_sha256": "cb8d57f9c6e16ae08ce0dc8480f3901ecf7a1b347f57c9746d3164edfc298665",
  "_created": "2026-05-17T08:01:09.000Z",
  "_published": "2026-06-02T17:20:20.761Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79130426418,
      "time": 269,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040667976"
    },
    {
      "job": 79130426331,
      "time": 352,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040678755"
    },
    {
      "job": 79130425719,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040656022"
    },
    {
      "job": 79130426130,
      "time": 173,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040657441"
    },
    {
      "job": 79130424929,
      "time": 187,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040638457"
    },
    {
      "job": 79130425029,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364920941"
    },
    {
      "job": 79130425476,
      "time": 197,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040660352"
    },
    {
      "job": 79130426365,
      "time": 674,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040667444"
    },
    {
      "job": 79130425644,
      "time": 192,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040659589"
    }
  ],
  "_buildurl": "https://github.com/r-universe/marjoleinf/actions/runs/25985249953",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/marjoleinF/gamtree",
  "_commit": {
    "id": "e13c3c8f24458ad05b64bc9e7e7339f7f7eb1368",
    "author": "Marjolein Fokkema <marjolein.fokkema@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1744201038
  },
  "_maintainer": {
    "name": "Marjolein Fokkema",
    "email": "m.fokkema@fsw.leidenuniv.nl",
    "login": "marjoleinf",
    "twitter": "@MarjoFokkema",
    "description": "Associate Professor of Methods & Statistics for Psychology",
    "uuid": 16515996
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.3",
      "role": "Depends"
    },
    {
      "package": "glmertree",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "role": "Depends"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "partykit",
      "role": "Imports"
    },
    {
      "package": "gamm4",
      "role": "Imports"
    },
    {
      "package": "merDeriv",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "marjoleinf",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "marjoleinf",
      "count": 57,
      "uuid": 16515996
    }
  ],
  "_userbio": {
    "uuid": 16515996,
    "type": "user",
    "name": "Marjolein Fokkema",
    "description": "Associate Professor of Methods & Statistics for Psychology"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gamtree"
  },
  "_devurl": "https://github.com/marjoleinf/gamtree",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gamtree.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "gamtree",
    "setup.spline",
    "splinetree"
  ],
  "_datasets": [
    {
      "name": "eco",
      "title": "Example dataset of light-response curves",
      "object": "eco",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Species",
        "PAR",
        "Pn",
        "Specimen",
        "noise"
      ],
      "rows": 628,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "coef.gamtree",
      "title": "Extract coefficients from a GAM tree.",
      "topics": [
        "coef.gamtree"
      ]
    },
    {
      "page": "eco",
      "title": "Example dataset of light-response curves",
      "topics": [
        "eco"
      ]
    },
    {
      "page": "fitted.gamm4",
      "title": "Internal function for extracting fitted values from MOB-based GAM trees.",
      "topics": [
        "fitted.gamm4"
      ]
    },
    {
      "page": "fixef.gamtree",
      "title": "Extract fixed-effects coefficients from a GAM tree.",
      "topics": [
        "fixef.gamtree"
      ]
    },
    {
      "page": "gamtree",
      "title": "Recursively partition a dataset based on penalized GAMs.",
      "topics": [
        "gamtree"
      ]
    },
    {
      "page": "plot.gamtree",
      "title": "Plotting method for GAM trees",
      "topics": [
        "plot.gamtree"
      ]
    },
    {
      "page": "plot.splinetree",
      "title": "Plotting function for visualization of spline-based (g)lmertrees.",
      "topics": [
        "plot.splinetree"
      ]
    },
    {
      "page": "predict.gamm4",
      "title": "Internal function for extracting predictions from MOB-based GAM trees.",
      "topics": [
        "predict.gamm4"
      ]
    },
    {
      "page": "predict.gamtree",
      "title": "Get predictions from fitted GAM tree",
      "topics": [
        "predict.gamtree"
      ]
    },
    {
      "page": "predict.splinetree",
      "title": "Predict method for spline-based (g)lmertrees.",
      "topics": [
        "predict.splinetree"
      ]
    },
    {
      "page": "print.gamtree",
      "title": "Print method for a fitted GAM tree",
      "topics": [
        "print.gamtree"
      ]
    },
    {
      "page": "ranef.gamtree",
      "title": "Extract random-effects coefficients from a GAM tree.",
      "topics": [
        "ranef.gamtree"
      ]
    },
    {
      "page": "setup.spline",
      "title": "Set up splines bases for use with function (g)lmertree.",
      "topics": [
        "setup.spline"
      ]
    },
    {
      "page": "splinetree",
      "title": "Fit a (g)lmertree using spline-based partitioning.",
      "topics": [
        "splinetree"
      ]
    },
    {
      "page": "summary.gamtree",
      "title": "Summary method for a fitted GAM tree",
      "topics": [
        "summary.gamtree"
      ]
    },
    {
      "page": "VarCorr.gamtree",
      "title": "Extract random-effects covariance matrices from a GAM tree.",
      "topics": [
        "VarCorr.gamtree"
      ]
    }
  ],
  "_readme": "https://github.com/marjoleinF/gamtree/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "CompQuadForm",
    "Formula",
    "gamm4",
    "glmertree",
    "inum",
    "lattice",
    "lavaan",
    "libcoin",
    "lme4",
    "MASS",
    "Matrix",
    "merDeriv",
    "mgcv",
    "minqa",
    "mnormt",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nonnest2",
    "numDeriv",
    "partykit",
    "pbivnorm",
    "quadprog",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rpart",
    "sandwich",
    "survival",
    "zoo"
  ],
  "_score": 2.3979400086720375,
  "_indexed": true,
  "_nocasepkg": "gamtree",
  "_universes": [
    "marjoleinf"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.3",
      "date": "2026-05-17T08:03:54.000Z",
      "distro": "noble",
      "commit": "e13c3c8f24458ad05b64bc9e7e7339f7f7eb1368",
      "fileid": "9bb9959e199b3c1bce481bf9ca9a6981ae0487fe6e49c8c50622275d2ab79611",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marjoleinf/actions/runs/25985249953"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.3",
      "date": "2026-05-17T08:05:32.000Z",
      "distro": "noble",
      "commit": "e13c3c8f24458ad05b64bc9e7e7339f7f7eb1368",
      "fileid": "255ccf0090d7982a794a12285cb16e0165e2b27f93d91ff5fc564dff500106a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marjoleinf/actions/runs/25985249953"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.3",
      "date": "2026-05-17T08:02:39.000Z",
      "commit": "e13c3c8f24458ad05b64bc9e7e7339f7f7eb1368",
      "fileid": "6e51633fe87c999b30cb4125020fcc62a83ac66438ba70a6f16748439fbd6bd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marjoleinf/actions/runs/25985249953"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.3",
      "date": "2026-05-17T08:02:45.000Z",
      "commit": "e13c3c8f24458ad05b64bc9e7e7339f7f7eb1368",
      "fileid": "0842ac1ec6e22e7066dc1c651d6d405aca35beb0efbf78879b500a1f91b15437",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marjoleinf/actions/runs/25985249953"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.3",
      "date": "2026-05-17T08:02:40.000Z",
      "commit": "e13c3c8f24458ad05b64bc9e7e7339f7f7eb1368",
      "fileid": "59175e1c367374bfff7778e6c801485e3e1120251cb514e9f4afbc4561001c26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marjoleinf/actions/runs/25985249953"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.3",
      "date": "2026-05-17T08:03:36.000Z",
      "commit": "e13c3c8f24458ad05b64bc9e7e7339f7f7eb1368",
      "fileid": "539c08bf3d9498d7f6523cb952fc322fdf20f74fa966aa6cd4fc5af7ee578de3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marjoleinf/actions/runs/25985249953"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.3",
      "date": "2026-05-17T08:02:28.000Z",
      "commit": "e13c3c8f24458ad05b64bc9e7e7339f7f7eb1368",
      "fileid": "35e6dd39bca40748fb02094c42251bf40aa73dc2f7e8b9ba2faef4779b0776ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marjoleinf/actions/runs/25985249953"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.3",
      "date": "2026-06-02T17:20:00.000Z",
      "commit": "e13c3c8f24458ad05b64bc9e7e7339f7f7eb1368",
      "fileid": "7b943d79963c46fddf2c0db27a8398c54c028c7c2a6f41e64eab5b3dcc3f25eb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marjoleinf/actions/runs/25985249953"
    }
  ]
}