{
  "_id": "6af26338b90b31e79afd1171",
  "Package": "tidytreatment",
  "Type": "Package",
  "Title": "Tidy Methods for Bayesian Treatment Effect Models",
  "Version": "1.0.0",
  "Authors@R": "person(\"Joshua J\", \"Bon\", email = \"joshuajbon@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-2313-2949\"))",
  "Description": "Functions for extracting tidy data from Bayesian treatment\neffect models, in particular BART, but extensions are possible.\nFunctionality includes extracting tidy posterior summaries as\nin 'tidybayes' <https://github.com/mjskay/tidybayes>,\nestimating (average) treatment effects, common support\ncalculations, and plotting useful summaries of these.",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/bonstats/tidytreatment",
  "BugReports": "https://github.com/bonstats/tidytreatment/issues",
  "Language": "en-US",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev libx11-dev",
  "Repository": "https://bonstats.r-universe.dev",
  "Date/Publication": "2026-11-09 23:29:12 UTC",
  "RemoteUrl": "https://github.com/bonstats/tidytreatment",
  "RemoteRef": "HEAD",
  "RemoteSha": "c241c438ab61ddd649a0e1d823ffc3724ba6ddb6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-10 00:13:52 UTC",
    "User": "root"
  },
  "Author": "Joshua J Bon [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2313-2949>)",
  "Maintainer": "Joshua J Bon <joshuajbon@gmail.com>",
  "_user": "bonstats",
  "_type": "src",
  "_file": "tidytreatment_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/19dddafe8f208464876bcd420053ed1c3fbfeece0031de71bc87defc4707e2c1",
  "_filesize": 3190047,
  "_sha256": "19dddafe8f208464876bcd420053ed1c3fbfeece0031de71bc87defc4707e2c1",
  "_expires": "2027-02-18T00:20:04.000Z",
  "_created": "2026-11-10T00:13:52.000Z",
  "_published": "2026-11-20T01:05:51.898Z",
  "_upstream": "https://github.com/bonstats/tidytreatment",
  "_status": "success",
  "_maintainer": {
    "name": "Joshua J Bon",
    "email": "joshuajbon@gmail.com",
    "login": "bonstats",
    "description": "Research statistician. SMC, \nMCMC, Privacy, Bayes.",
    "uuid": 22385485,
    "orcid": "0000-0003-2313-2949"
  },
  "_jobs": [
    {
      "job": 129534258133,
      "time": 246,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13722717894"
    },
    {
      "job": 129534258083,
      "time": 197,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13723590958"
    },
    {
      "job": 129534258021,
      "time": 180,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13723297195"
    },
    {
      "job": 129534258116,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13722892008"
    },
    {
      "job": 129531592895,
      "time": 356,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13722981636"
    },
    {
      "job": 129534258244,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13722956820"
    },
    {
      "job": 129534258261,
      "time": 274,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13722762720"
    },
    {
      "job": 129534258306,
      "time": 315,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13721914419"
    },
    {
      "job": 129534258221,
      "time": 278,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13723566287"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bonstats/actions/runs/42725939615",
  "_commit": {
    "id": "c241c438ab61ddd649a0e1d823ffc3724ba6ddb6",
    "author": "Joshua Bon <joshuajbon@gmail.com>",
    "committer": "Joshua Bon <joshuajbon@gmail.com>",
    "message": "CRAN note update [skip actions]\n",
    "time": 1794266952
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "tidybayes",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "dbarts",
      "role": "Imports"
    },
    {
      "package": "BART",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stan4bart",
      "role": "Suggests"
    },
    {
      "package": "bartCause",
      "role": "Suggests"
    },
    {
      "package": "stochtree",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "bartMachine",
      "role": "Enhances"
    }
  ],
  "_owner": "bonstats",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 4
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2026-43",
      "n": 1
    },
    {
      "week": "2026-46",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.3.2",
      "date": "2025-12-06"
    }
  ],
  "_topics": [
    "bayesian",
    "tidy",
    "treatment-effects"
  ],
  "_stars": 17,
  "_contributors": [
    {
      "user": "bonstats",
      "count": 165,
      "uuid": 22385485
    },
    {
      "user": "mjskay",
      "count": 3,
      "uuid": 6345019
    },
    {
      "user": "jennybc",
      "count": 1,
      "uuid": 599454
    }
  ],
  "_userbio": {
    "uuid": 22385485,
    "type": "user",
    "name": "Joshua Bon",
    "followers": 36,
    "description": "Research statistician. SMC, \r\nMCMC, Privacy, Bayes."
  },
  "_downloads": {
    "count": 391,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidytreatment"
  },
  "_devurl": "https://github.com/bonstats/tidytreatment",
  "_searchresults": 27,
  "_rbuild": "4.6.2",
  "_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/tidytreatment.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/bonstats/tidytreatment",
  "_realowner": "bonstats",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2021-06-23"
    },
    {
      "version": "0.2.1",
      "date": "2021-07-26"
    },
    {
      "version": "0.2.2",
      "date": "2022-02-21"
    },
    {
      "version": "0.3.1",
      "date": "2025-01-10"
    },
    {
      "version": "0.3.2",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "%>%",
    "avg_treatment_effects",
    "covariate_importance",
    "covariate_with_treatment_importance",
    "has_common_support",
    "has_tidytreatment_methods",
    "simulate_su_hill_data",
    "su_hill_true_effects",
    "tidy_ate",
    "tidy_att",
    "treatment_effects",
    "variance_draws"
  ],
  "_datasets": [
    {
      "name": "bartmodel1",
      "title": "Example model 1",
      "object": "bartmodel1",
      "class": [
        "wbart"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "bartmodel1_modelmatrix",
      "title": "Model matrix used for 'bartmodel1'",
      "object": "bartmodel1_modelmatrix",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "z",
        "c11",
        "c12",
        "c13",
        "x1",
        "x2",
        "x3",
        "x4",
        "x5",
        "x6",
        "x7",
        "x8",
        "x9",
        "x10",
        "prop_score"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "highDim_testdataset3",
      "title": "ACIC2019 High Dimensional Test Dataset",
      "object": "highDim_testdataset3",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Y",
        "A",
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30",
        "V31",
        "V32",
        "V33",
        "V34",
        "V35",
        "V36",
        "V37",
        "V38",
        "V39",
        "V40",
        "V41",
        "V42",
        "V43",
        "V44",
        "V45",
        "V46",
        "V47",
        "V48",
        "V49",
        "V50",
        "V51",
        "V52",
        "V53",
        "V54",
        "V55",
        "V56",
        "V57",
        "V58",
        "V59",
        "V60",
        "V61",
        "V62",
        "V63",
        "V64",
        "V65",
        "V66",
        "V67",
        "V68",
        "V69",
        "V70",
        "V71",
        "V72",
        "V73",
        "V74",
        "V75",
        "V76",
        "V77",
        "V78",
        "V79",
        "V80",
        "V81",
        "V82",
        "V83",
        "V84",
        "V85",
        "V86",
        "V87",
        "V88",
        "V89",
        "V90",
        "V91",
        "V92",
        "V93",
        "V94",
        "V95",
        "V96",
        "V97",
        "V98",
        "V99",
        "V100",
        "V101",
        "V102",
        "V103",
        "V104",
        "V105",
        "V106",
        "V107",
        "V108",
        "V109",
        "V110",
        "V111",
        "V112",
        "V113",
        "V114",
        "V115",
        "V116",
        "V117",
        "V118",
        "V119",
        "V120",
        "V121",
        "V122",
        "V123",
        "V124",
        "V125",
        "V126",
        "V127",
        "V128",
        "V129",
        "V130",
        "V131",
        "V132",
        "V133",
        "V134",
        "V135",
        "V136",
        "V137",
        "V138",
        "V139",
        "V140",
        "V141",
        "V142",
        "V143",
        "V144",
        "V145",
        "V146",
        "V147",
        "V148",
        "V149",
        "V150",
        "V151",
        "V152",
        "V153",
        "V154",
        "V155",
        "V156",
        "V157",
        "V158",
        "V159",
        "V160",
        "V161",
        "V162",
        "V163",
        "V164",
        "V165",
        "V166",
        "V167",
        "V168",
        "V169",
        "V170",
        "V171",
        "V172",
        "V173",
        "V174",
        "V175",
        "V176",
        "V177",
        "V178",
        "V179",
        "V180",
        "V181",
        "V182",
        "V183",
        "V184",
        "V185"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "suhillsim1",
      "title": "Example simulated dataset 1",
      "object": "suhillsim1",
      "class": [
        "suhillsim"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "suhillsim2_ranef",
      "title": "Example simulated dataset 2: with subject specific random effects",
      "object": "suhillsim2_ranef",
      "class": [
        "suhillsim"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "avg_treatment_effects",
      "title": "Get (conditional) average treatment effect draws from posterior",
      "topics": [
        "avg_treatment_effects"
      ]
    },
    {
      "page": "bartmodel1",
      "title": "Example model 1",
      "topics": [
        "bartmodel1"
      ]
    },
    {
      "page": "bartmodel1_modelmatrix",
      "title": "Model matrix used for 'bartmodel1'",
      "topics": [
        "bartmodel1_modelmatrix"
      ]
    },
    {
      "page": "covariate_importance",
      "title": "Counts of variable overall inclusion",
      "topics": [
        "covariate_importance"
      ]
    },
    {
      "page": "covariate_importance-mbart-unsupported",
      "title": "Multinomial BART models ('mbart'/'mbart2') are not supported",
      "topics": [
        "covariate_importance-mbart-unsupported",
        "covariate_importance.mbart",
        "covariate_importance.mbart2"
      ]
    },
    {
      "page": "covariate_with_treatment_importance",
      "title": "Counts of variable inclusion when interacting with treatment",
      "topics": [
        "covariate_with_treatment_importance"
      ]
    },
    {
      "page": "covariate_with_treatment_importance-mbart-unsupported",
      "title": "Multinomial BART models ('mbart'/'mbart2') are not supported",
      "topics": [
        "covariate_with_treatment_importance-mbart-unsupported",
        "covariate_with_treatment_importance.mbart",
        "covariate_with_treatment_importance.mbart2"
      ]
    },
    {
      "page": "epred_draws.bart",
      "title": "Get fitted draws from posterior of a 'dbarts::bart'/'dbarts::bart2' model",
      "topics": [
        "epred_draws.bart"
      ]
    },
    {
      "page": "epred_draws.bartcFit",
      "title": "Get expected prediction draws from posterior of 'bartCause'-package objects",
      "topics": [
        "epred_draws.bartcFit"
      ]
    },
    {
      "page": "epred_draws.bartMachine",
      "title": "Get fitted draws from posterior of 'bartMachine' model",
      "topics": [
        "epred_draws.bartMachine"
      ]
    },
    {
      "page": "epred_draws.bartmodel",
      "title": "Get fitted draws from posterior of 'bartmodel' ('stochtree' package) model",
      "topics": [
        "epred_draws.bartmodel"
      ]
    },
    {
      "page": "epred_draws.bcfmodel",
      "title": "Get fitted draws from posterior of 'bcfmodel' ('stochtree' package) model",
      "topics": [
        "epred_draws.bcfmodel"
      ]
    },
    {
      "page": "epred_draws.lbart",
      "title": "Get fitted draws from posterior of 'lbart' model",
      "topics": [
        "epred_draws.lbart"
      ]
    },
    {
      "page": "epred_draws.pbart",
      "title": "Get fitted draws from posterior of 'pbart' model",
      "topics": [
        "epred_draws.pbart"
      ]
    },
    {
      "page": "epred_draws.stan4bartFit",
      "title": "Get expected prediction draws from posterior of 'stan4bart'-package models",
      "topics": [
        "epred_draws.stan4bartFit"
      ]
    },
    {
      "page": "epred_draws.wbart",
      "title": "Get fitted draws from posterior of 'wbart' model",
      "topics": [
        "epred_draws.wbart"
      ]
    },
    {
      "page": "fitted_draws_BART",
      "title": "Get fitted draws from posterior of 'BART'-package models",
      "topics": [
        "fitted_draws_BART"
      ]
    },
    {
      "page": "fitted_draws_dbarts",
      "title": "Get fitted draws from posterior of 'dbarts'-package 'bart'/'bart2' models",
      "topics": [
        "fitted_draws_dbarts"
      ]
    },
    {
      "page": "fitted_draws_stochtree",
      "title": "Get fitted draws from posterior of 'stochtree'-package models",
      "topics": [
        "fitted_draws_stochtree"
      ]
    },
    {
      "page": "fitted_draws_stochtree_bcf",
      "title": "Get fitted draws from posterior of 'stochtree'-package BCF (causal forest) models",
      "topics": [
        "fitted_draws_stochtree_bcf"
      ]
    },
    {
      "page": "has_common_support",
      "title": "Evaluate if observations have common support.",
      "topics": [
        "has_common_support"
      ]
    },
    {
      "page": "has_tidytreatment_methods",
      "title": "Check if a model class has required generic methods for tidytreatment functions.",
      "topics": [
        "has_tidytreatment_methods"
      ]
    },
    {
      "page": "highDim_testdataset3",
      "title": "ACIC2019 High Dimensional Test Dataset",
      "topics": [
        "highDim_testdataset3"
      ]
    },
    {
      "page": "linpred_draws.bartcFit",
      "title": "Get expected prediction draws (on linear scale) from posterior of 'bartCause'-package objects",
      "topics": [
        "linpred_draws.bartcFit"
      ]
    },
    {
      "page": "linpred_draws.bartmodel",
      "title": "Get linear predictor draws from posterior of 'bartmodel' ('stochtree' package) model",
      "topics": [
        "linpred_draws.bartmodel"
      ]
    },
    {
      "page": "linpred_draws.bcfmodel",
      "title": "Get linear predictor draws from posterior of 'bcfmodel' ('stochtree' package) model",
      "topics": [
        "linpred_draws.bcfmodel"
      ]
    },
    {
      "page": "linpred_draws.stan4bartFit",
      "title": "Get linear predictor draws from posterior of 'stan4bart'-package models",
      "topics": [
        "linpred_draws.stan4bartFit"
      ]
    },
    {
      "page": "mbart-unsupported",
      "title": "Multinomial BART models ('mbart'/'mbart2') are not supported",
      "topics": [
        "epred_draws.mbart",
        "epred_draws.mbart2",
        "mbart-unsupported",
        "predicted_draws.mbart",
        "predicted_draws.mbart2",
        "residual_draws.mbart",
        "residual_draws.mbart2"
      ]
    },
    {
      "page": "posterior_trees_BART",
      "title": "Get posterior tree draws into tibble format from BART model",
      "topics": [
        "posterior_trees_BART"
      ]
    },
    {
      "page": "predicted_draws_BART",
      "title": "Get predict draws from posterior of 'BART::wbart' models",
      "topics": [
        "predicted_draws_BART"
      ]
    },
    {
      "page": "predicted_draws.bart",
      "title": "Get predict draws from posterior of a 'dbarts::bart'/'bart2' model",
      "topics": [
        "predicted_draws.bart"
      ]
    },
    {
      "page": "predicted_draws.bartcFit",
      "title": "Get prediction draws from posterior of 'bartCause'-package objects",
      "topics": [
        "predicted_draws.bartcFit"
      ]
    },
    {
      "page": "predicted_draws.bartMachine",
      "title": "Get predict draws from posterior of 'bartMachine' model",
      "topics": [
        "predicted_draws.bartMachine"
      ]
    },
    {
      "page": "predicted_draws.bartmodel",
      "title": "Get predict draws from posterior of 'bartmodel' ('stochtree' package) model",
      "topics": [
        "predicted_draws.bartmodel"
      ]
    },
    {
      "page": "predicted_draws.bcfmodel",
      "title": "Get predict draws from posterior of 'bcfmodel' ('stochtree' package) model",
      "topics": [
        "predicted_draws.bcfmodel"
      ]
    },
    {
      "page": "predicted_draws.lbart",
      "title": "Get predict draws from posterior of 'lbart' model",
      "topics": [
        "predicted_draws.lbart"
      ]
    },
    {
      "page": "predicted_draws.pbart",
      "title": "Get predict draws from posterior of 'pbart' model",
      "topics": [
        "predicted_draws.pbart"
      ]
    },
    {
      "page": "predicted_draws.stan4bartFit",
      "title": "Get prediction draws from posterior of 'stan4bart'-package models",
      "topics": [
        "predicted_draws.stan4bartFit"
      ]
    },
    {
      "page": "predicted_draws.wbart",
      "title": "Get predict draws from posterior of 'wbart' model",
      "topics": [
        "predicted_draws.wbart"
      ]
    },
    {
      "page": "residual_draws_BART",
      "title": "Get residual draw for BART model",
      "topics": [
        "residual_draws_BART"
      ]
    },
    {
      "page": "residual_draws.bart",
      "title": "Get residual draws for a 'dbarts::bart'/'bart2' model",
      "topics": [
        "residual_draws.bart"
      ]
    },
    {
      "page": "residual_draws.bartMachine",
      "title": "Get residual draw for 'bartMachine' model",
      "topics": [
        "residual_draws.bartMachine"
      ]
    },
    {
      "page": "residual_draws.bartmodel",
      "title": "Get residual draw for 'bartmodel' ('stochtree' package) model",
      "topics": [
        "residual_draws.bartmodel"
      ]
    },
    {
      "page": "residual_draws.bcfmodel",
      "title": "Get residual draw for 'bcfmodel' ('stochtree' package) model",
      "topics": [
        "residual_draws.bcfmodel"
      ]
    },
    {
      "page": "residual_draws.pbart",
      "title": "Get residual draw for 'pbart' model",
      "topics": [
        "residual_draws.pbart"
      ]
    },
    {
      "page": "residual_draws.wbart",
      "title": "Get residual draw for 'wbart' model",
      "topics": [
        "residual_draws.wbart"
      ]
    },
    {
      "page": "simulate_su_hill_data",
      "title": "Simulate data with scenarios from Hill and Su (2013)",
      "topics": [
        "simulate_su_hill_data"
      ]
    },
    {
      "page": "su_hill_true_effects",
      "title": "Get the ground truth (e.g. treatment effect) for a Su and Hill (2013) simulation",
      "topics": [
        "su_hill_true_effects"
      ]
    },
    {
      "page": "suhillsim1",
      "title": "Example simulated dataset 1",
      "topics": [
        "suhillsim1"
      ]
    },
    {
      "page": "suhillsim2_ranef",
      "title": "Example simulated dataset 2: with subject specific random effects",
      "topics": [
        "suhillsim2_ranef"
      ]
    },
    {
      "page": "tidy_ate",
      "title": "Get average treatment effect draws from posterior",
      "topics": [
        "tidy_ate"
      ]
    },
    {
      "page": "tidy_att",
      "title": "Get average treatment effect on treated draws from posterior",
      "topics": [
        "tidy_att"
      ]
    },
    {
      "page": "tidy_draws-mbart-unsupported",
      "title": "Multinomial BART models ('mbart'/'mbart2') are not supported",
      "topics": [
        "tidy_draws-mbart-unsupported",
        "tidy_draws.mbart",
        "tidy_draws.mbart2"
      ]
    },
    {
      "page": "tidy_draws-pbart-lbart",
      "title": "Tidy access to posterior of a 'pbart'/'lbart' model",
      "topics": [
        "tidy_draws-pbart-lbart",
        "tidy_draws.lbart",
        "tidy_draws.pbart"
      ]
    },
    {
      "page": "tidy_draws.bart",
      "title": "Tidy access to posterior of a 'dbarts::bart'/'bart2' model",
      "topics": [
        "tidy_draws.bart"
      ]
    },
    {
      "page": "tidy_draws.bartcFit",
      "title": "Tidy access to posterior of 'bartCause'-package objects",
      "topics": [
        "tidy_draws.bartcFit"
      ]
    },
    {
      "page": "tidy_draws.bartmodel",
      "title": "Tidy access to posterior of 'bartmodel' ('stochtree' package) model",
      "topics": [
        "tidy_draws.bartmodel"
      ]
    },
    {
      "page": "tidy_draws.bcfmodel",
      "title": "Tidy access to posterior of 'bcfmodel' ('stochtree' package) model",
      "topics": [
        "tidy_draws.bcfmodel"
      ]
    },
    {
      "page": "tidy_draws.wbart",
      "title": "Tidy access to posterior of a 'wbart' model",
      "topics": [
        "tidy_draws.wbart"
      ]
    },
    {
      "page": "tidytreatment",
      "title": "tidytreatment: Tidy methods for Bayesian treatment effect models",
      "topics": [
        "tidytreatment-package",
        "tidytreatment"
      ]
    },
    {
      "page": "treatment_effects",
      "title": "Get (individual) treatment effect draws from posterior",
      "topics": [
        "treatment_effects"
      ]
    },
    {
      "page": "treatment_effects.bartcFit",
      "title": "Get (individual) treatment effect draws from bartcFit posterior",
      "topics": [
        "treatment_effects.bartcFit"
      ]
    },
    {
      "page": "treatment_effects.bcfmodel",
      "title": "Get (individual) treatment effect draws from posterior of a 'bcfmodel' ('stochtree' package)",
      "topics": [
        "treatment_effects.bcfmodel"
      ]
    },
    {
      "page": "treatment_effects.default",
      "title": "Get treatment effect draws from posterior",
      "topics": [
        "treatment_effects.default"
      ]
    },
    {
      "page": "variance_draws",
      "title": "Get variance draws from posterior of BART models",
      "topics": [
        "variance_draws"
      ]
    }
  ],
  "_readme": "https://github.com/bonstats/tidytreatment/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "arrayhelpers",
    "backports",
    "BART",
    "bit",
    "bit64",
    "checkmate",
    "cli",
    "clipr",
    "coda",
    "cpp11",
    "crayon",
    "dbarts",
    "distributional",
    "dplyr",
    "farver",
    "generics",
    "ggdist",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "matrixStats",
    "nlme",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "posterior",
    "prettyunits",
    "progress",
    "purrr",
    "quadprog",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "survival",
    "svUnit",
    "tensorA",
    "tibble",
    "tidybayes",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "use-tidytreatment-BART.Rmd",
      "filename": "use-tidytreatment-BART.html",
      "title": "Using the tidytreatment package with BART",
      "author": "Joshua J Bon",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulate data",
        "Fit the regression model",
        "Extract the posterior (tidy style)",
        "Use some plotting functions from the tidybayes package",
        "Calculate Treatment Effects",
        "Common support calculations",
        "Investigating variable importance",
        "Model checking and convergence",
        "References"
      ],
      "created": "2020-04-27 11:57:42",
      "modified": "2026-10-23 07:51:03",
      "commits": 15
    },
    {
      "source": "use-tidytreatment-BART-binary-outcome.Rmd",
      "filename": "use-tidytreatment-BART-binary-outcome.html",
      "title": "Using the tidytreatment package with BART (binary outcome)",
      "author": "Joshua J Bon",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulate data",
        "Fit the regression model",
        "Extract the posterior (tidy style)",
        "Use some plotting functions from the tidybayes package",
        "Calculate Treatment Effects",
        "Common support calculations",
        "Investigating variable importance",
        "Model checking and convergence",
        "References"
      ],
      "created": "2025-01-11 16:58:25",
      "modified": "2026-10-23 07:51:03",
      "commits": 3
    },
    {
      "source": "use-tidytreatment-bartCause.Rmd",
      "filename": "use-tidytreatment-bartCause.html",
      "title": "Using the tidytreatment package with bartCause",
      "author": "Joshua J Bon",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulate data",
        "Fit the regression model",
        "Extract the posterior (tidy style)",
        "Use some plotting functions from the tidybayes package",
        "Calculate Treatment Effects",
        "References"
      ],
      "created": "2023-05-18 02:20:58",
      "modified": "2026-10-23 07:51:03",
      "commits": 3
    },
    {
      "source": "use-tidytreatment-stochtree.Rmd",
      "filename": "use-tidytreatment-stochtree.html",
      "title": "Using the tidytreatment package with stochtree",
      "author": "Joshua J Bon",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulate data",
        "Fit the regression model",
        "Extract the posterior (tidy style)",
        "Use some plotting functions from the tidybayes package",
        "Calculate Treatment Effects",
        "References"
      ],
      "created": "2026-10-23 07:51:03",
      "modified": "2026-10-23 07:51:03",
      "commits": 1
    }
  ],
  "_score": 6.962842681201243,
  "_indexed": true,
  "_nocasepkg": "tidytreatment",
  "_universes": [
    "bonstats"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-10T00:17:12.000Z",
      "distro": "resolute",
      "commit": "c241c438ab61ddd649a0e1d823ffc3724ba6ddb6",
      "fileid": "https://r2.ropensci.org/6f6bac904ede853ef6ac63624fcac9fba4004c04e1a9d9578a2d1e9fc97a9927",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonstats/actions/runs/42725939615"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-10T00:16:30.000Z",
      "distro": "resolute",
      "commit": "c241c438ab61ddd649a0e1d823ffc3724ba6ddb6",
      "fileid": "https://r2.ropensci.org/b79c6f1f75f89084651b3e70274e798710f6cb009e067b103d07cd0442f146bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonstats/actions/runs/42725939615"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-11-10T00:16:26.000Z",
      "commit": "c241c438ab61ddd649a0e1d823ffc3724ba6ddb6",
      "fileid": "https://r2.ropensci.org/91da25a9d95aa573a66eac71048fd153ebbfc3c9a9f11006ac93582b281ea693",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonstats/actions/runs/42725939615"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-11-10T00:16:19.000Z",
      "commit": "c241c438ab61ddd649a0e1d823ffc3724ba6ddb6",
      "fileid": "https://r2.ropensci.org/ffbecc4829121df39a065c912bebd4592de73314ab172f5ba22756db0db783aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonstats/actions/runs/42725939615"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-11-10T00:16:29.000Z",
      "commit": "c241c438ab61ddd649a0e1d823ffc3724ba6ddb6",
      "fileid": "https://r2.ropensci.org/07a99b55f031fc2c706e88e4584d453b18d41427ad36b3779b72dff77034682e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bonstats/actions/runs/42725939615"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-10T00:15:32.000Z",
      "commit": "c241c438ab61ddd649a0e1d823ffc3724ba6ddb6",
      "fileid": "https://r2.ropensci.org/9717a0710c767425068953134225ae4174b87eb5ab4abe84b06ba354eb01c5db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonstats/actions/runs/42725939615"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-10T00:15:24.000Z",
      "commit": "c241c438ab61ddd649a0e1d823ffc3724ba6ddb6",
      "fileid": "https://r2.ropensci.org/a37b29434f6113a2786fd2c3c1e7d5db6a94012c8fb021fd1dbf1657e9ac5ae2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonstats/actions/runs/42725939615"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-10T00:15:36.000Z",
      "commit": "c241c438ab61ddd649a0e1d823ffc3724ba6ddb6",
      "fileid": "https://r2.ropensci.org/d7c53615dafebf903275a8220aadda9664dd17ab35ea565ed1f53d06b9253f90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonstats/actions/runs/42725939615"
    }
  ]
}