{
  "_id": "6a16991bacfb0bcc41d7d5e4",
  "Package": "splinetree",
  "Title": "Longitudinal Regression Trees and Forests",
  "Version": "0.2.0",
  "Authors@R": "c(person(\"Anna\", \"Neufeld\", email = \"aneufeld@uw.edu\", role = c(\"aut\", \"cre\")), person(\"Brianna\", \"Heggeseth\", email = \"bheggese@macalester.edu\", role = c(\"aut\",\"ths\")))",
  "Description": "Builds regression trees and random forests for\nlongitudinal or functional data using a spline projection\nmethod. Implements and extends the work of Yu and Lambert\n(1999) <doi:10.1080/10618600.1999.10474847>. This method allows\ntrees and forests to be built while considering either level\nand shape or only shape of response trajectories.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "6.1.1",
  "VignetteBuilder": "R.rsp",
  "BugReports": "https://github.com/anna-neufeld/splinetree/issues",
  "URL": "https://github.com/anna-neufeld/splinetree",
  "Config/pak/sysreqs": "libcairo2-dev cmake libfontconfig1-dev\nlibfreetype6-dev make libicu-dev libpng-dev libuv1-dev\nlibx11-dev zlib1g-dev",
  "Repository": "https://anna-neufeld.r-universe.dev",
  "Date/Publication": "2019-08-26 18:38:00 UTC",
  "RemoteUrl": "https://github.com/anna-neufeld/splinetree",
  "RemoteRef": "HEAD",
  "RemoteSha": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 07:05:09 UTC",
    "User": "root"
  },
  "Author": "Anna Neufeld [aut, cre],\nBrianna Heggeseth [aut, ths]",
  "Maintainer": "Anna Neufeld <aneufeld@uw.edu>",
  "MD5sum": "4db4794de50eb0c93eded33a5a4d2f06",
  "_user": "anna-neufeld",
  "_type": "src",
  "_file": "splinetree_0.2.0.tar.gz",
  "_fileid": "6184fbf7692141f03b99126a1e4d05cf196f952f3b83a1ccbe19c3976be40efb",
  "_filesize": 2908972,
  "_sha256": "6184fbf7692141f03b99126a1e4d05cf196f952f3b83a1ccbe19c3976be40efb",
  "_created": "2026-05-27T07:05:09.000Z",
  "_published": "2026-05-27T07:11:23.149Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78025192997,
      "time": 211,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7234054723"
    },
    {
      "job": 78025192917,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7234051551"
    },
    {
      "job": 78025193006,
      "time": 259,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7234078558"
    },
    {
      "job": 78025192902,
      "time": 150,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7234057034"
    },
    {
      "job": 78024703455,
      "time": 213,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233993963"
    },
    {
      "job": 78025192941,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234034807"
    },
    {
      "job": 78025192957,
      "time": 154,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7234039000"
    },
    {
      "job": 78025192919,
      "time": 153,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7234038529"
    },
    {
      "job": 78025192934,
      "time": 137,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7234033979"
    }
  ],
  "_buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/26496116062",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/anna-neufeld/splinetree",
  "_commit": {
    "id": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
    "author": "Brianna <bcheggeseth@gmail.com>",
    "committer": "Brianna <bcheggeseth@gmail.com>",
    "message": "added dplyr\n",
    "time": 1566844680
  },
  "_maintainer": {
    "name": "Anna Neufeld",
    "email": "aneufeld@uw.edu",
    "login": "anna-neufeld",
    "description": "Post-doc at Fred Hutch Cancer Center",
    "uuid": 40243753
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "rpart",
      "role": "Depends"
    },
    {
      "package": "nlme",
      "role": "Depends"
    },
    {
      "package": "splines",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Depends"
    },
    {
      "package": "mosaic",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "treeClust",
      "role": "Imports"
    },
    {
      "package": "mclust",
      "role": "Imports"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "anna-neufeld",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "anna-neufeld",
      "count": 121,
      "uuid": 40243753
    },
    {
      "user": "bcheggeseth",
      "count": 11,
      "uuid": 2610445
    }
  ],
  "_userbio": {
    "uuid": 40243753,
    "type": "user",
    "name": "Anna Neufeld",
    "description": "Post-doc at Fred Hutch Cancer Center"
  },
  "_downloads": {
    "count": 236,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/splinetree"
  },
  "_devurl": "https://github.com/anna-neufeld/splinetree",
  "_searchresults": 32,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/splinetree.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/anna-neufeld/splinetree",
  "_realowner": "anna-neufeld",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-09-24"
    },
    {
      "version": "0.1.1",
      "date": "2019-01-07"
    },
    {
      "version": "0.2.0",
      "date": "2019-07-18"
    }
  ],
  "_exports": [
    "avSize",
    "flatten_predictors",
    "getNodeData",
    "nodePlot",
    "plotImp",
    "plotNode",
    "predict_y_training",
    "predictCoeffs",
    "predictCoeffsForest",
    "predictY",
    "predictYForest",
    "projectedR2",
    "projectedR2Forest",
    "pruneForest",
    "spaghettiPlot",
    "splineForest",
    "splineTree",
    "splineTreePlot",
    "stPlot",
    "stPrint",
    "terminalNodeSummary",
    "treeSimilarity",
    "treeSize",
    "treeSummary",
    "varImpCoeff",
    "varImpY",
    "yR2",
    "yR2Forest"
  ],
  "_datasets": [
    {
      "name": "forest",
      "title": "Sample forest used in vignettes",
      "object": "forest",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "importance",
      "title": "Sample importance used in vignettes",
      "object": "importance",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "nlsySample",
      "title": "Baseline socioeconomic information and BMI of 100 individuals.",
      "object": "nlsySample",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "HGC_MOTHER",
        "HGC_FATHER",
        "Num_sibs",
        "Age_first_alc",
        "Age_first_smoke",
        "RACE",
        "SEX",
        "AGE",
        "HGC",
        "BMI",
        "HISP",
        "WHITE",
        "BLACK"
      ],
      "rows": 16126,
      "table": true,
      "tojson": true
    },
    {
      "name": "tree",
      "title": "Sample tree used in examples",
      "object": "tree",
      "class": [
        "rpart"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "avSize",
      "title": "Compute the average tree size in a forest",
      "topics": [
        "avSize"
      ]
    },
    {
      "page": "getNodeData",
      "title": "Retrieve the subset of the data found at a given terminal node",
      "topics": [
        "getNodeData"
      ]
    },
    {
      "page": "nodePlot",
      "title": "Plots the trajectories of each terminal node side by side.",
      "topics": [
        "nodePlot"
      ]
    },
    {
      "page": "plotImp",
      "title": "Create a barplot of relative variable importance scores.",
      "topics": [
        "plotImp"
      ]
    },
    {
      "page": "plotNode",
      "title": "Plot the predicted trajectory for a single node",
      "topics": [
        "plotNode"
      ]
    },
    {
      "page": "predictCoeffs",
      "title": "Predict spline coefficients for a testset using a spline tree",
      "topics": [
        "predictCoeffs"
      ]
    },
    {
      "page": "predictCoeffsForest",
      "title": "Predict spline coefficients for a testset using a splineforest.",
      "topics": [
        "predictCoeffsForest"
      ]
    },
    {
      "page": "predictY",
      "title": "Predictions from a spline tree",
      "topics": [
        "predictY"
      ]
    },
    {
      "page": "predictYForest",
      "title": "Predict responses for a testset using a splineforest.",
      "topics": [
        "predictYForest"
      ]
    },
    {
      "page": "projectedR2",
      "title": "Computes percent of variation in projected response explained by a splinetree.",
      "topics": [
        "projectedR2"
      ]
    },
    {
      "page": "projectedR2Forest",
      "title": "Computes a level-based or shape-based evaluation metric for a splineforest.",
      "topics": [
        "projectedR2Forest"
      ]
    },
    {
      "page": "pruneForest",
      "title": "Prune each tree in forest using a given complexity parameter.",
      "topics": [
        "pruneForest"
      ]
    },
    {
      "page": "spaghettiPlot",
      "title": "Create a faceted spaghetti plot of a splinetree model",
      "topics": [
        "spaghettiPlot"
      ]
    },
    {
      "page": "splineForest",
      "title": "Build a spline random forest.",
      "topics": [
        "splineForest"
      ]
    },
    {
      "page": "splineTree",
      "title": "Build a splinetree model.",
      "topics": [
        "splineTree"
      ]
    },
    {
      "page": "splineTreePlot",
      "title": "Creates a tree plot of a spline tree.",
      "topics": [
        "splineTreePlot"
      ]
    },
    {
      "page": "stPlot",
      "title": "Plots a splinetree.",
      "topics": [
        "stPlot"
      ]
    },
    {
      "page": "stPrint",
      "title": "Print a spline tree in the style of print.rpart",
      "topics": [
        "stPrint"
      ]
    },
    {
      "page": "terminalNodeSummary",
      "title": "Prints a summary of a terminal node in a tree",
      "topics": [
        "terminalNodeSummary"
      ]
    },
    {
      "page": "treeSimilarity",
      "title": "Returns a measure of how similar the two trees are.",
      "topics": [
        "treeSimilarity"
      ]
    },
    {
      "page": "treeSize",
      "title": "Returns number of terminal nodes in a tree.",
      "topics": [
        "treeSize"
      ]
    },
    {
      "page": "treeSummary",
      "title": "Returns the tree frame.",
      "topics": [
        "treeSummary"
      ]
    },
    {
      "page": "varImpCoeff",
      "title": "Random Forest Variable Importance based on spline coefficients",
      "topics": [
        "varImpCoeff"
      ]
    },
    {
      "page": "varImpY",
      "title": "Random Forest Variable Importance based on Y",
      "topics": [
        "varImpY"
      ]
    },
    {
      "page": "yR2",
      "title": "Computes percent of variation in response explained by spline tree.",
      "topics": [
        "yR2"
      ]
    },
    {
      "page": "yR2Forest",
      "title": "Computes a level-based evaluation metric for a splineforest that was built WITH an intercept.",
      "topics": [
        "yR2Forest"
      ]
    }
  ],
  "_readme": "https://github.com/anna-neufeld/splinetree/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bit",
    "bit64",
    "bslib",
    "cachem",
    "cli",
    "clipr",
    "cluster",
    "cpp11",
    "crayon",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "forcats",
    "fs",
    "gdtools",
    "generics",
    "ggformula",
    "ggiraph",
    "ggplot2",
    "ggridges",
    "glue",
    "gtable",
    "haven",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "labelled",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "mclust",
    "memoise",
    "mime",
    "mosaic",
    "mosaicCore",
    "mosaicData",
    "nlme",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "rlang",
    "rmarkdown",
    "rpart",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "systemfonts",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "treeClust",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "Forest-Intro.html.asis",
      "filename": "Forest-Intro.html",
      "title": "Introduction to Forest Building with splinetree",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2018-09-12 21:36:40",
      "modified": "2018-09-12 21:36:40",
      "commits": 1
    },
    {
      "source": "Long-Intro.html.asis",
      "filename": "Long-Intro.html",
      "title": "Introduction to splinetree",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2018-09-12 21:36:40",
      "modified": "2018-09-12 21:36:40",
      "commits": 1
    },
    {
      "source": "Tree-Intro.html.asis",
      "filename": "Tree-Intro.html",
      "title": "Introduction to Tree Building with splinetree",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2018-09-12 21:36:40",
      "modified": "2018-09-12 21:36:40",
      "commits": 1
    }
  ],
  "_score": 5.28330122870355,
  "_indexed": true,
  "_nocasepkg": "splinetree",
  "_universes": [
    "anna-neufeld"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-27T07:07:43.000Z",
      "distro": "noble",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "aa1e8011fe1ac9c675252c5d17169f465c4a92f1c2a4a3f2487f6328dd516b1b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/26496116062"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-27T07:07:40.000Z",
      "distro": "noble",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "f41e7254344d7965bde19a6004645428c0ecc90d63bf6af2f90f5e032942dfdb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/26496116062"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-27T07:09:19.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "a92302fb9f3dde81d79d8581ef6ab904ed7694f6ca23b54bcccbd76d1c86cd85",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/26496116062"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-27T07:08:28.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "92b7576c898c56e6be86db2ca8cc1883320d0ce69dc394892976775de54b7529",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/26496116062"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-27T07:07:49.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "258fe48d13f0628b8176d6a61e22a55a6eb8d769c6abfab9eec9752a93edc931",
      "status": "success",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/26496116062"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-27T07:06:34.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "09c35c4b8808115574ba6dfbe89c03a446987a157c7ea8d32243c45222db1155",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/26496116062"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-27T07:06:39.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "4f8d69946ad1b4947642e8cdc8f9c54003e8ee1a475413d36a02547b51b53690",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/26496116062"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-27T07:06:32.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "e305fffb64aa273089b3ad80e75e3b8a4392381508a4ede50cf4a635b31d4557",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/26496116062"
    }
  ]
}