{
  "_id": "6a101fc9acfb0bcc41c8b5af",
  "Package": "model4you",
  "Title": "Stratified and Personalised Models Based on Model-Based Trees\nand Forests",
  "Date": "2026-02-05",
  "Version": "0.9-9",
  "Authors@R": "c(person(given = \"Heidi\", family = \"Seibold\", \nrole = c(\"aut\", \"cre\"), email = \"heidi@seibold.co\"),\nperson(given = \"Achim\", family = \"Zeileis\",\nrole = \"aut\", email = \"Achim.Zeileis@R-project.org\"),\nperson(given = \"Torsten\", family = \"Hothorn\",\nrole = \"aut\", email = \"Torsten.Hothorn@R-project.org\"))",
  "Description": "Model-based trees for subgroup analyses in clinical trials\nand model-based forests for the estimation and prediction of\npersonalised treatment effects (personalised models). Currently\npartitioning of linear models, lm(), generalised linear models,\nglm(), and Weibull models, survreg(), is supported.  Advanced\nplotting functionality is supported for the trees and a test\nfor parameter heterogeneity is provided for the personalised\nmodels. For details on model-based trees for subgroup analyses\nsee Seibold, Zeileis and Hothorn (2016)\n<doi:10.1515/ijb-2015-0032>; for details on model-based forests\nfor estimation of individual treatment effects see Seibold,\nZeileis and Hothorn (2017) <doi:10.1177/0962280217693034>.",
  "License": "GPL-2 | GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Author": "Heidi Seibold [aut, cre], Achim Zeileis [aut], Torsten Hothorn\n[aut]",
  "Maintainer": "Heidi Seibold <heidi@seibold.co>",
  "Repository/R-Forge/Project": "partykit",
  "Repository/R-Forge/Revision": "3333",
  "Repository/R-Forge/DateTimeStamp": "2026-02-05 18:29:56",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 06:38:03 UTC",
    "User": "root"
  },
  "Repository": "https://heidiseibold.r-universe.dev",
  "Date/Publication": "2026-02-12 10:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/model4you",
  "RemoteRef": "HEAD",
  "RemoteSha": "dea91e09891429f599ecaaac0074d587c250feea",
  "MD5sum": "02e97eb972e5fadc9047f0f52f768727",
  "_user": "heidiseibold",
  "_type": "src",
  "_file": "model4you_0.9-9.tar.gz",
  "_fileid": "8a523c44a92c859b50a14f47e34e65efd0808e103ae3370ece73768afbfdcfeb",
  "_filesize": 205221,
  "_sha256": "8a523c44a92c859b50a14f47e34e65efd0808e103ae3370ece73768afbfdcfeb",
  "_created": "2026-05-14T06:38:03.000Z",
  "_published": "2026-05-22T09:20:09.006Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77351490334,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6988717978"
    },
    {
      "job": 77351489907,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988719715"
    },
    {
      "job": 77351490548,
      "time": 269,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6988732739"
    },
    {
      "job": 77351489982,
      "time": 197,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988715900"
    },
    {
      "job": 77351489544,
      "time": 152,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988681514"
    },
    {
      "job": 77351489399,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157109983"
    },
    {
      "job": 77351489931,
      "time": 137,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6988712157"
    },
    {
      "job": 77351490240,
      "time": 158,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6988717702"
    },
    {
      "job": 77351489960,
      "time": 161,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988717525"
    }
  ],
  "_buildurl": "https://github.com/r-universe/heidiseibold/actions/runs/25845810248",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/model4you",
  "_commit": {
    "id": "dea91e09891429f599ecaaac0074d587c250feea",
    "author": "Heidi Seibold <heidi@seibold.co>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.9-9\n",
    "time": 1770891002
  },
  "_maintainer": {
    "name": "Heidi Seibold",
    "email": "heidi@seibold.co",
    "login": "heidiseibold",
    "mastodon": "@HeidiSeibold@fosstodon.org",
    "uuid": 14146757
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "partykit",
      "version": ">= 1.2-6",
      "role": "Depends"
    },
    {
      "package": "grid",
      "role": "Depends"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "TH.data",
      "role": "Suggests"
    },
    {
      "package": "psychotools",
      "role": "Suggests"
    },
    {
      "package": "strucchange",
      "role": "Suggests"
    },
    {
      "package": "plyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "ggbeeswarm",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-07",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.9-9",
      "date": "2026-02-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "heidiseibold",
      "count": 9,
      "uuid": 14146757
    }
  ],
  "_userbio": {
    "uuid": 14146757,
    "type": "user",
    "name": "Heidi Seibold",
    "description": "Data Scientist / Open Science Advocate / Entrepreneur"
  },
  "_downloads": {
    "count": 415,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/model4you"
  },
  "_searchresults": 16,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/model4you.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "heidiseibold",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.9-0",
      "date": "2018-01-16"
    },
    {
      "version": "0.9-1",
      "date": "2018-02-08"
    },
    {
      "version": "0.9-2",
      "date": "2018-06-15"
    },
    {
      "version": "0.9-3",
      "date": "2018-11-12"
    },
    {
      "version": "0.9-5",
      "date": "2020-02-19"
    },
    {
      "version": "0.9-6",
      "date": "2020-11-25"
    },
    {
      "version": "0.9-7",
      "date": "2021-01-20"
    },
    {
      "version": "0.9-8",
      "date": "2024-11-08"
    },
    {
      "version": "0.9-9",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "binomial_glm_plot",
    "coeftable.survreg",
    "coxph_plot",
    "lm_plot",
    "node_pmterminal",
    "objfun",
    "pmforest",
    "pmodel",
    "pmtest",
    "pmtree",
    "rss",
    "survreg_plot"
  ],
  "_help": [
    {
      "page": "dot-add_modelinfo",
      "title": "Add model information to a personalised-model-ctree",
      "topics": [
        ".add_modelinfo"
      ]
    },
    {
      "page": "dot-modelfit",
      "title": "Fit function when model object is given",
      "topics": [
        ".modelfit"
      ]
    },
    {
      "page": "dot-prepare_args",
      "title": "Prepare input for ctree/cforest from input of pmtree/pmforest",
      "topics": [
        ".prepare_args"
      ]
    },
    {
      "page": "binomial_glm_plot",
      "title": "Plot for a given logistic regression model (glm with binomial family) with one binary covariate.",
      "topics": [
        "binomial_glm_plot"
      ]
    },
    {
      "page": "coeftable.survreg",
      "title": "Table of coefficients for survreg model",
      "topics": [
        "coeftable.survreg"
      ]
    },
    {
      "page": "coxph_plot",
      "title": "Survival plot for a given coxph model with one binary covariate.",
      "topics": [
        "coxph_plot"
      ]
    },
    {
      "page": "lm_plot",
      "title": "Density plot for a given lm model with one binary covariate.",
      "topics": [
        "lm_plot"
      ]
    },
    {
      "page": "logLik.pmtree",
      "title": "Extract log-Likelihood",
      "topics": [
        "logLik.pmtree"
      ]
    },
    {
      "page": "node_pmterminal",
      "title": "Panel-Generator for Visualization of pmtrees",
      "topics": [
        "node_pmterminal"
      ]
    },
    {
      "page": "objfun",
      "title": "Objective function",
      "topics": [
        "objfun",
        "objfun.glm",
        "objfun.lm",
        "objfun.survreg"
      ]
    },
    {
      "page": "objfun.pmodel_identity",
      "title": "Objective function of personalised models",
      "topics": [
        "logLik.pmodel_identity",
        "objfun.pmodel_identity"
      ]
    },
    {
      "page": "objfun.pmtree",
      "title": "Objective function of a given pmtree",
      "topics": [
        "objfun.pmtree"
      ]
    },
    {
      "page": "one_factor",
      "title": "Check if model has only one factor covariate.",
      "topics": [
        "one_factor"
      ]
    },
    {
      "page": "pmforest",
      "title": "Compute model-based forest from model.",
      "topics": [
        "gettree.pmforest",
        "pmforest"
      ]
    },
    {
      "page": "pmodel",
      "title": "Personalised model",
      "topics": [
        "pmodel"
      ]
    },
    {
      "page": "pmtest",
      "title": "Test if personalised models improve upon base model.",
      "topics": [
        "plot.heterogeneity_test",
        "pmtest"
      ]
    },
    {
      "page": "pmtree",
      "title": "Compute model-based tree from model.",
      "topics": [
        "pmtree"
      ]
    },
    {
      "page": "predict.pmtree",
      "title": "pmtree predictions",
      "topics": [
        "predict.pmtree"
      ]
    },
    {
      "page": "print.pmtree",
      "title": "Methods for pmtree",
      "topics": [
        "coef.pmtree",
        "print.pmtree",
        "print.summary.pmtree",
        "summary.pmtree"
      ]
    },
    {
      "page": "rss",
      "title": "Residual sum of squares",
      "topics": [
        "rss",
        "rss.default"
      ]
    },
    {
      "page": "survreg_plot",
      "title": "Survival plot for a given survreg model with one binary covariate.",
      "topics": [
        "survreg_plot"
      ]
    },
    {
      "page": "varimp.pmforest",
      "title": "Variable Importance for pmforest",
      "topics": [
        "varimp.pmforest"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "Formula",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inum",
    "isoband",
    "labeling",
    "lattice",
    "libcoin",
    "lifecycle",
    "Matrix",
    "mvtnorm",
    "partykit",
    "R6",
    "RColorBrewer",
    "rlang",
    "rpart",
    "S7",
    "sandwich",
    "scales",
    "survival",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 1.2041199826559248,
  "_indexed": true,
  "_nocasepkg": "model4you",
  "_universes": [
    "heidiseibold"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9-9",
      "date": "2026-05-14T06:39:52.000Z",
      "distro": "noble",
      "commit": "dea91e09891429f599ecaaac0074d587c250feea",
      "fileid": "2c67e79d001724da239be15b13dd09603fdeaba32a161b579c13229574f2e772",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidiseibold/actions/runs/25845810248"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9-9",
      "date": "2026-05-14T06:40:02.000Z",
      "distro": "noble",
      "commit": "dea91e09891429f599ecaaac0074d587c250feea",
      "fileid": "c50e7a76d33dac82ecf68c4ffb8ba7df96bf75d6cb63a017fb83d5f99afced31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidiseibold/actions/runs/25845810248"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9-9",
      "date": "2026-05-14T06:41:04.000Z",
      "commit": "dea91e09891429f599ecaaac0074d587c250feea",
      "fileid": "e189ac59ac10708158196b830000dd40ee719e95854333ba4894445fb8f263be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidiseibold/actions/runs/25845810248"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9-9",
      "date": "2026-05-14T06:40:00.000Z",
      "commit": "dea91e09891429f599ecaaac0074d587c250feea",
      "fileid": "d8602872c7cb85d20dc1df1972a722b28f9a846cd8692a14d3314f25385961cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidiseibold/actions/runs/25845810248"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9-9",
      "date": "2026-05-14T06:39:16.000Z",
      "commit": "dea91e09891429f599ecaaac0074d587c250feea",
      "fileid": "874292e9bc78e4273f30f17438148c6bae2d019db767c100e84b42a275f02576",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidiseibold/actions/runs/25845810248"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9-9",
      "date": "2026-05-14T06:39:38.000Z",
      "commit": "dea91e09891429f599ecaaac0074d587c250feea",
      "fileid": "275ab78cf200ee3297b47133d8a55deaf111af90fafd88baabf18ae1e4cef638",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidiseibold/actions/runs/25845810248"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9-9",
      "date": "2026-05-14T06:39:19.000Z",
      "commit": "dea91e09891429f599ecaaac0074d587c250feea",
      "fileid": "188a2ec974930ce0eeab35ad65ad8215dfca33af95bab9279453024678f48dd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/heidiseibold/actions/runs/25845810248"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9-9",
      "date": "2026-05-22T09:19:49.000Z",
      "commit": "dea91e09891429f599ecaaac0074d587c250feea",
      "fileid": "ca392251e1e3ae7e883f0326ee15bbf1ba257bbb7a73c32a3bb2179559269996",
      "status": "success",
      "buildurl": "https://github.com/r-universe/heidiseibold/actions/runs/25845810248"
    }
  ]
}