{
  "_id": "6aca434cfe5cc25786e8629f",
  "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-10-10 13:46:29 UTC",
    "User": "root"
  },
  "Author": "Anna Neufeld [aut, cre],\nBrianna Heggeseth [aut, ths]",
  "Maintainer": "Anna Neufeld <aneufeld@uw.edu>",
  "_user": "anna-neufeld",
  "_type": "src",
  "_file": "splinetree_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/cce25a7cfc46d4b056d46f43567ab94443511f80e8038de350df73d98bb27402",
  "_filesize": 2908625,
  "_sha256": "cce25a7cfc46d4b056d46f43567ab94443511f80e8038de350df73d98bb27402",
  "_expires": "2027-01-18T13:53:14.000Z",
  "_created": "2026-10-10T13:46:29.000Z",
  "_published": "2026-10-10T13:53:16.570Z",
  "_buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/38056783659",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114227557658,
      "time": 195,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11671338500"
    },
    {
      "job": 114227557647,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11671508492"
    },
    {
      "job": 114227557652,
      "time": 212,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11671227549"
    },
    {
      "job": 114227557632,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11671218772"
    },
    {
      "job": 114226847477,
      "time": 224,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671426915"
    },
    {
      "job": 114227557624,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11671668235"
    },
    {
      "job": 114227557601,
      "time": 162,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11671573211"
    },
    {
      "job": 114227557681,
      "time": 148,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11671343544"
    },
    {
      "job": 114227557675,
      "time": 151,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11671488248"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 14,
    "description": "Post-doc at Fred Hutch Cancer Center"
  },
  "_downloads": {
    "count": 376,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/splinetree"
  },
  "_devurl": "https://github.com/anna-neufeld/splinetree",
  "_searchresults": 33,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/splinetree.html",
    "LICENSE"
  ],
  "_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": [
        "Forest Building with splinetree",
        "Building a Forest",
        "Working with a spline forest",
        "Making predictions with a forest",
        "Evaluating a Forest",
        "Variable Importance",
        "Conclusion",
        "References"
      ],
      "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": [
        "Introduction to splinetree",
        "Motivation",
        "Algorithm",
        "Spline Projection",
        "Split Criteria",
        "Example",
        "Forests",
        "Spline Forest Implementation",
        "Variable Importance",
        "Conclusion",
        "References"
      ],
      "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": [
        "Tree Building with splinetree",
        "Building and Visualizing Trees",
        "Building our first tree",
        "Viewing and visualizing the first tree",
        "Controlling Tree Size",
        "Controlling the Evaluation Grid",
        "Customizing Spline Basis Matrix",
        "Prediction and Evaluation",
        "Conclusion",
        "References"
      ],
      "created": "2018-09-12 21:36:40",
      "modified": "2018-09-12 21:36:40",
      "commits": 1
    }
  ],
  "_score": 5.296665190261531,
  "_indexed": true,
  "_nocasepkg": "splinetree",
  "_universes": [
    "anna-neufeld"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-10T13:49:05.000Z",
      "distro": "resolute",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "https://r2.ropensci.org/932a60a16ded6a916417419b0ea3c48bf5e300c84cfc9a76c4afa558f8567e03",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/38056783659"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-10T13:48:49.000Z",
      "distro": "resolute",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "https://r2.ropensci.org/72c00495e2ca5696bc31d7b0a8d3ae01f82ce868ead98d097995373839739f44",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/38056783659"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-10T13:51:40.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "https://r2.ropensci.org/c5c4cf6cc9f60f0e2e42da7a0101cf58db7721ae199c142c3bf2941915b851cf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/38056783659"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-10T13:50:45.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "https://r2.ropensci.org/327b2e85bab904dabfdccb72f69303492f36159bd69af6db99d763ab58e7e7a3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/38056783659"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-10T13:48:53.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "https://r2.ropensci.org/799a31e19adb1652a9e68dca01596910c482f4f67bb1dafefe5defaec9b8e692",
      "status": "success",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/38056783659"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-10T13:47:55.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "https://r2.ropensci.org/8f1a170b27cbc53574cb6c0d2b97043fc00292b560ac83763e2e9fb93dba8271",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/38056783659"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-10T13:47:54.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "https://r2.ropensci.org/c052644ef33367a2359ffdb7f59e545198451c1a292fd6842b7e87ac9d1d9e88",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/38056783659"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-10T13:48:03.000Z",
      "commit": "352a5bc29e04ecc12f7c0499830d77004ddabd88",
      "fileid": "https://r2.ropensci.org/da185e4cb5bc89d696e8e7586f1f1ed0d94a8e5664644cb0f48b4a0f96e17adf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anna-neufeld/actions/runs/38056783659"
    }
  ]
}