{
  "_id": "6a5b0f919baadeef8ab4ac4f",
  "Package": "tmle3mopttx",
  "Title": "Targeted Maximum Likelihood Estimation of the Mean under Optimal\nIndividualized Treatment",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Ivana\", \"Malenica\", email = \"imalenica@berkeley.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7404-8088\")),\nperson(\"Jeremy\", \"Coyle\", email = \"jeremy.coyle@gmail.com\",\nrole = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-9874-6649\")),\nperson(\"Mark\", \"van der Laan\", email = \"laan@berkeley.edu\",\nrole = c(\"aut\", \"ths\")),\nperson(\"Haodong\", \"Li\", email = \"haodong_li@berkeley.edu\",\nrole = \"ctb\")\n)",
  "Description": "This package estimates the optimal individualized\ntreatment rule for the categorical treatment using Super\nLearner (sl3). In order to avoid nested cross-validation, it\nuses split-specific estimates of Q and g to estimate the rule\nas described by Coyle et al. In addition, it provides the\nTargeted Maximum Likelihood estimates of the mean performance\nusing CV-TMLE under such estimated rules. This is an adapter\npackage for use with the tmle3 framework and the tlverse\nsoftware ecosystem for Targeted Learning.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyLoad": "yes",
  "Remotes": [
    "github::tlverse/delayed",
    "github::tlverse/origami",
    "github::tlverse/sl3",
    "github::tlverse/tmle3",
    "github::tlverse/tmle3shift"
  ],
  "URL": "https://tlverse.org/tmle3mopttx",
  "BugReports": "https://github.com/tlverse/tmle3mopttx/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.0",
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev libuv1-dev\nlibxml2-dev",
  "Repository": "https://tlverse.r-universe.dev",
  "Date/Publication": "2022-08-06 03:03:11 UTC",
  "RemoteUrl": "https://github.com/tlverse/tmle3mopttx",
  "RemoteRef": "HEAD",
  "RemoteSha": "3c0e8437af88ca8c54fcec1e953652feaf6c9003",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-18 05:24:52 UTC",
    "User": "root"
  },
  "Author": "Ivana Malenica [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-7404-8088>),\nJeremy Coyle [aut, cph] (ORCID:\n<https://orcid.org/0000-0002-9874-6649>),\nMark van der Laan [aut, ths],\nHaodong Li [ctb]",
  "Maintainer": "Ivana Malenica <imalenica@berkeley.edu>",
  "_user": "tlverse",
  "_type": "src",
  "_file": "tmle3mopttx_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7ddd501c663e0544099ea803825de7a124ab9bd81d302d50f24647c811f6c82f",
  "_filesize": 259571,
  "_sha256": "7ddd501c663e0544099ea803825de7a124ab9bd81d302d50f24647c811f6c82f",
  "_expires": "2026-10-26T05:30:55.000Z",
  "_created": "2026-07-18T05:24:52.000Z",
  "_published": "2026-07-18T05:30:57.444Z",
  "_jobs": [
    {
      "job": 88048078946,
      "time": 267,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8425904355"
    },
    {
      "job": 88048078941,
      "time": 314,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8425911482"
    },
    {
      "job": 88048078953,
      "time": 126,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8425888838"
    },
    {
      "job": 88048078971,
      "time": 205,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8425902414"
    },
    {
      "job": 88047737232,
      "time": 266,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8425863047"
    },
    {
      "job": 88048078951,
      "time": 266,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8425904051"
    },
    {
      "job": 88048078990,
      "time": 197,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8425893552"
    },
    {
      "job": 88048078966,
      "time": 195,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8425893217"
    },
    {
      "job": 88048078975,
      "time": 192,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8425892794"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tlverse/actions/runs/29632096128",
  "_status": "success",
  "_upstream": "https://github.com/tlverse/tmle3mopttx",
  "_commit": {
    "id": "3c0e8437af88ca8c54fcec1e953652feaf6c9003",
    "author": "Ivana <imalenica.stat@gmail.com>",
    "committer": "Ivana <imalenica.stat@gmail.com>",
    "message": "Update link\n",
    "time": 1659754991
  },
  "_maintainer": {
    "name": "Ivana Malenica",
    "email": "imalenica@berkeley.edu",
    "login": "imalenica",
    "twitter": "@podTockom",
    "description": "Wojcicki and Troper HDSI Fellow at the Harvard Department of Statistics",
    "uuid": 13910997,
    "orcid": "0000-0002-7404-8088"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "uuid",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "sl3",
      "role": "Imports"
    },
    {
      "package": "tmle3",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "hal9001",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "Rsolnp",
      "role": "Suggests"
    },
    {
      "package": "nnls",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "role": "Suggests"
    },
    {
      "package": "speedglm",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "role": "Suggests"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    }
  ],
  "_owner": "tlverse",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "categorical-treatment",
    "causal-inference",
    "heterogeneous-effects",
    "machine-learning",
    "optimal-individualized-treatment",
    "targeted-learning",
    "variable-importance"
  ],
  "_stars": 13,
  "_contributors": [
    {
      "user": "imalenica",
      "count": 153,
      "uuid": 13910997
    },
    {
      "user": "jeremyrcoyle",
      "count": 11,
      "uuid": 3893286
    },
    {
      "user": "nhejazi",
      "count": 2,
      "uuid": 8527276
    }
  ],
  "_userbio": {
    "uuid": 36939258,
    "type": "organization",
    "name": "tlverse",
    "followers": 75,
    "description": "Ecosystem of R packages for targeted (causal) machine learning"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tmle3mopttx"
  },
  "_devurl": "https://github.com/tlverse/tmle3mopttx",
  "_searchresults": 201,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tmle3mopttx.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "create_mv_learners",
    "LF_rule",
    "normalize_rows",
    "Optimal_Rule_Q_learning",
    "Optimal_Rule_Revere",
    "Param_TSM_name",
    "Q_learning",
    "tmle3_mopttx_blip_revere",
    "tmle3_mopttx_Q",
    "tmle3_mopttx_vim",
    "tmle3_Spec_mopttx_blip_revere",
    "tmle3_Spec_mopttx_Q",
    "tmle3_Spec_mopttx_vim",
    "vals_from_factor"
  ],
  "_datasets": [
    {
      "name": "data_bin",
      "title": "Mock data set with Binary Treatment",
      "object": "data_bin",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "W1",
        "W2",
        "W3",
        "A",
        "Y"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_cat",
      "title": "Mock data set with Categorical Treatment",
      "object": "data_cat",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "W1",
        "W2",
        "W3",
        "W4",
        "A",
        "Y"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_cat_realistic",
      "title": "Mock data set with Categorical Treatment and rare treatment",
      "object": "data_cat_realistic",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "W1",
        "W2",
        "W3",
        "W4",
        "A",
        "Y"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_cat_vim",
      "title": "Mock data set for Variable Importance Analysis with Categorical Treatment",
      "object": "data_cat_vim",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "W1",
        "W2",
        "W3",
        "W4",
        "A",
        "Y"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "create_mv_learners",
      "title": "Make SL of multivariate learners",
      "topics": [
        "create_mv_learners"
      ]
    },
    {
      "page": "data_bin",
      "title": "Mock data set with Binary Treatment",
      "topics": [
        "data_bin"
      ]
    },
    {
      "page": "data_cat",
      "title": "Mock data set with Categorical Treatment",
      "topics": [
        "data_cat"
      ]
    },
    {
      "page": "data_cat_realistic",
      "title": "Mock data set with Categorical Treatment and rare treatment",
      "topics": [
        "data_cat_realistic"
      ]
    },
    {
      "page": "data_cat_vim",
      "title": "Mock data set for Variable Importance Analysis with Categorical Treatment",
      "topics": [
        "data_cat_vim"
      ]
    },
    {
      "page": "LF_rule",
      "title": "Dynamic Likelihood Factor",
      "topics": [
        "LF_rule"
      ]
    },
    {
      "page": "normalize_rows",
      "title": "Normalize rows",
      "topics": [
        "normalize_rows"
      ]
    },
    {
      "page": "Optimal_Rule_Q_learning",
      "title": "Learns the Optimal Rule given a tmle_task and likelihood, using Q learning.",
      "topics": [
        "Optimal_Rule_Q_learning"
      ]
    },
    {
      "page": "Optimal_Rule_Revere",
      "title": "Learning the Optimal Rule using the Revere framework",
      "topics": [
        "Optimal_Rule_Revere"
      ]
    },
    {
      "page": "Param_TSM_name",
      "title": "Treatment Specific Mean with names specifying the covariates the rule depends on.",
      "topics": [
        "Param_TSM_name"
      ]
    },
    {
      "page": "Q_learning",
      "title": "Q learning wrapper",
      "topics": [
        "Q_learning"
      ]
    },
    {
      "page": "tmle3_mopttx_blip_revere",
      "title": "Mean under the Optimal Individualized Treatment Rule",
      "topics": [
        "tmle3_mopttx_blip_revere"
      ]
    },
    {
      "page": "tmle3_mopttx_Q",
      "title": "Mean under the Optimal Individualized Treatment Rule, using Q learning",
      "topics": [
        "tmle3_mopttx_Q"
      ]
    },
    {
      "page": "tmle3_mopttx_vim",
      "title": "Mean under the Optimal Individualized Treatment Rule",
      "topics": [
        "tmle3_mopttx_vim"
      ]
    },
    {
      "page": "tmle3_Spec_mopttx_blip_revere",
      "title": "TMLE for the Mean Under the Optimal Individualized Rule",
      "topics": [
        "tmle3_Spec_mopttx_blip_revere"
      ]
    },
    {
      "page": "tmle3_Spec_mopttx_Q",
      "title": "Defines the Mean Under the Optimal Individualized Rule with Categorical Treatment, estimated using Q learning (single step)",
      "topics": [
        "tmle3_Spec_mopttx_Q"
      ]
    },
    {
      "page": "tmle3_Spec_mopttx_vim",
      "title": "Variable Importance with the Mean Under the Optimal Individualized Rule",
      "topics": [
        "tmle3_Spec_mopttx_vim"
      ]
    },
    {
      "page": "vals_from_factor",
      "title": "Get factors",
      "topics": [
        "vals_from_factor"
      ]
    }
  ],
  "_readme": "https://github.com/tlverse/tmle3mopttx/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "assertthat",
    "backports",
    "base64enc",
    "BBmisc",
    "bitops",
    "bslib",
    "cachem",
    "caret",
    "caTools",
    "checkmate",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "crayon",
    "data.table",
    "delayed",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "glmnet",
    "globals",
    "glue",
    "gower",
    "gplots",
    "gtable",
    "gtools",
    "hal9001",
    "hardhat",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "igraph",
    "ipred",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "ModelMetrics",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "origami",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "prettyunits",
    "pROC",
    "prodlim",
    "progress",
    "progressr",
    "proxy",
    "purrr",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "recipes",
    "reshape2",
    "rlang",
    "rmarkdown",
    "ROCR",
    "rpart",
    "rstackdeque",
    "S7",
    "sass",
    "scales",
    "shape",
    "sl3",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tinytex",
    "tmle3",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "visNetwork",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 4.894260664446988,
  "_indexed": true,
  "_nocasepkg": "tmle3mopttx",
  "_universes": [
    "tlverse",
    "imalenica"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-18T05:27:57.000Z",
      "distro": "resolute",
      "commit": "3c0e8437af88ca8c54fcec1e953652feaf6c9003",
      "fileid": "https://r2.ropensci.org/e934a654b638245731b11ce5aad0a06213356afaa4a6a1182330931d5e559a46",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/29632096128"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-18T05:28:44.000Z",
      "distro": "resolute",
      "commit": "3c0e8437af88ca8c54fcec1e953652feaf6c9003",
      "fileid": "https://r2.ropensci.org/7fa8dc94b43c33b9a850bf7df290779fd6dd25d5b07cf4c4e885eba554e2c478",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/29632096128"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-18T05:27:05.000Z",
      "commit": "3c0e8437af88ca8c54fcec1e953652feaf6c9003",
      "fileid": "https://r2.ropensci.org/d8a85e4a16dd7790bb603fc3bc245e9952b788336efb65665afaf2a439ba0845",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/29632096128"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-18T05:28:06.000Z",
      "commit": "3c0e8437af88ca8c54fcec1e953652feaf6c9003",
      "fileid": "https://r2.ropensci.org/b38fcd1050825563b44697d30c226f93c5c42edfe207b0fd6329e10a732161ec",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/29632096128"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-07-18T05:29:42.000Z",
      "commit": "3c0e8437af88ca8c54fcec1e953652feaf6c9003",
      "fileid": "https://r2.ropensci.org/1a97ba7bff035ecb17e3dec37ac51180bea9d9373ab397a256e43efe8118684d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/29632096128"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-18T05:26:18.000Z",
      "commit": "3c0e8437af88ca8c54fcec1e953652feaf6c9003",
      "fileid": "https://r2.ropensci.org/f9f603a615e698eb08c2eb225295b23bff83e655ec17d52c84dffdf1e2948bce",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/29632096128"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-18T05:26:19.000Z",
      "commit": "3c0e8437af88ca8c54fcec1e953652feaf6c9003",
      "fileid": "https://r2.ropensci.org/fe458ac0bf4d8de8958bc6a9949a05fc895d1ba443aa308019f43839238e54f6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/29632096128"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-18T05:26:20.000Z",
      "commit": "3c0e8437af88ca8c54fcec1e953652feaf6c9003",
      "fileid": "https://r2.ropensci.org/e26f1baea6c64b3047f530707e283930f895febd096c75aa4388ae8973a4a3be",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/29632096128"
    }
  ]
}