{
  "_id": "6a1d53391d7bb097a0a461fe",
  "Package": "flexCausal",
  "Title": "Causal Effect Estimation via Doubly Robust One-Step Estimators\nand TMLE in Graphical Models with Unmeasured Variables",
  "Version": "0.1.0",
  "Date": "2026-03-18",
  "Authors@R": "person(\"Anna\", \"Guo\",\nemail = \"guo.anna617@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(GitHub = \"https://github.com/annaguo-bios\"))",
  "Description": "Provides doubly robust one-step and targeted maximum\nlikelihood (TMLE) estimators for average causal effects in\nacyclic directed mixed graphs (ADMGs) with unmeasured\nvariables. Automatically determines whether the treatment\neffect is identified via backdoor adjustment or the extended\nfront-door functional, and dispatches to the appropriate\nestimator. Supports incorporation of machine learning\nalgorithms via 'SuperLearner' and cross-fitting for nuisance\nestimation. Methods are described in Guo and Nabi (2024)\n<doi:10.48550/arXiv.2409.03962>.",
  "License": "GPL-3",
  "LazyData": "true",
  "URL": "https://github.com/annaguo-bios/flexCausal",
  "BugReports": "https://github.com/annaguo-bios/flexCausal/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3.9000",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://annaguo-bios.r-universe.dev",
  "Date/Publication": "2026-03-19 20:51:57 UTC",
  "RemoteUrl": "https://github.com/annaguo-bios/flexcausal",
  "RemoteRef": "HEAD",
  "RemoteSha": "229d80365c3e6500a36c55a686baae5c0b1fa433",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 09:34:53 UTC",
    "User": "root"
  },
  "Author": "Anna Guo [aut, cre] (GitHub: https://github.com/annaguo-bios)",
  "Maintainer": "Anna Guo <guo.anna617@gmail.com>",
  "MD5sum": "6061cad9f11fd4a245ebc801393364a4",
  "_user": "annaguo-bios",
  "_type": "src",
  "_file": "flexCausal_0.1.0.tar.gz",
  "_fileid": "007c3b2a4b819264c135c141f4a4c79a7b65dbf83b5ae78edbb01793e1f99480",
  "_filesize": 3664376,
  "_sha256": "007c3b2a4b819264c135c141f4a4c79a7b65dbf83b5ae78edbb01793e1f99480",
  "_created": "2026-06-01T09:34:53.000Z",
  "_published": "2026-06-01T09:39:05.167Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78824861291,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7328120074"
    },
    {
      "job": 78824861318,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328118433"
    },
    {
      "job": 78824861281,
      "time": 187,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7328126269"
    },
    {
      "job": 78824861388,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328115249"
    },
    {
      "job": 78824215605,
      "time": 240,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328072979"
    },
    {
      "job": 78824861271,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328112828"
    },
    {
      "job": 78824861309,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7328105403"
    },
    {
      "job": 78824861328,
      "time": 145,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7328122571"
    },
    {
      "job": 78824861342,
      "time": 132,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328118617"
    }
  ],
  "_buildurl": "https://github.com/r-universe/annaguo-bios/actions/runs/26746779830",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/annaguo-bios/flexcausal",
  "_commit": {
    "id": "229d80365c3e6500a36c55a686baae5c0b1fa433",
    "author": "Anna Guo <apple@Annas-Mac-mini.local>",
    "committer": "Anna Guo <apple@Annas-Mac-mini.local>",
    "message": "corrected pics path in readme file\n",
    "time": 1773953517
  },
  "_maintainer": {
    "name": "Anna Guo",
    "email": "guo.anna617@gmail.com",
    "login": "annaguo-bios",
    "description": "I am a Ph.D. student in Biostatistics at Emory University working with Dr. Razieh Nabi. My research focuses on causal inference and semiparametric statistics.",
    "uuid": 59348069
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "SuperLearner",
      "role": "Imports"
    },
    {
      "package": "densratio",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "earth",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    }
  ],
  "_owner": "annaguo-bios",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 2
    },
    {
      "week": "2026-12",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2025-08-28"
    }
  ],
  "_stars": 9,
  "_contributors": [
    {
      "user": "annaguo-bios",
      "count": 61,
      "uuid": 59348069
    },
    {
      "user": "anna617",
      "count": 26,
      "uuid": 42104590
    },
    {
      "user": "raziehna",
      "count": 7,
      "uuid": 19523408
    }
  ],
  "_userbio": {
    "uuid": 59348069,
    "type": "user",
    "name": "Anna Guo",
    "description": "I am a Ph.D. student in Biostatistics at Emory University working with Dr. Razieh Nabi. My research focuses on causal inference and semiparametric statistics."
  },
  "_downloads": {
    "count": 444,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/flexCausal"
  },
  "_devurl": "https://github.com/annaguo-bios/flexcausal",
  "_searchresults": 16,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/flexCausal.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/annaguo-bios/flexcausal",
  "_realowner": "annaguo-bios",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-03-29"
    }
  ],
  "_exports": [
    "estADMG",
    "f.adj_matrix",
    "f.children",
    "f.descendants",
    "f.district",
    "f.markov_blanket",
    "f.markov_pillow",
    "f.parents",
    "f.reachable_closure",
    "f.top_order",
    "is.fix",
    "is.mb.shielded",
    "is.np.saturated",
    "is.p.fix",
    "make.graph"
  ],
  "_datasets": [
    {
      "name": "data_backdoor",
      "title": "Data generated from a classic backdoor model, where the pre-treatment variable X cause A and Y, and the treatment A cause Y.",
      "object": "data_backdoor",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "A",
        "Y"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_example_a",
      "title": "Data generated from the simulation model in Figure 4(a) of the paper <https://arxiv.org/abs/2409.03962>. The model can also be found in Figure (a) of the github repository: <https://github.com/annaguo-bios/flexCausal>",
      "object": "data_example_a",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "U",
        "A",
        "M.1",
        "M.2",
        "L",
        "Y"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_example_b",
      "title": "Data generated from the simulation model in Figure 4(b) of the paper <https://arxiv.org/abs/2409.03962>. The model can also be found in Figure (b) of the github repository: <https://github.com/annaguo-bios/flexCausal>",
      "object": "data_example_b",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "U1",
        "U2",
        "A",
        "M.1",
        "M.2",
        "L",
        "Y"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_frontdoor",
      "title": "Data generated from a classic front-door model.",
      "object": "data_frontdoor",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "U",
        "A",
        "M",
        "Y"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "data_backdoor",
      "title": "Data generated from a classic backdoor model, where the pre-treatment variable X cause A and Y, and the treatment A cause Y.",
      "topics": [
        "data_backdoor"
      ]
    },
    {
      "page": "data_example_a",
      "title": "Data generated from the simulation model in Figure 4(a) of the paper <https://arxiv.org/abs/2409.03962>. The model can also be found in Figure (a) of the github repository: <https://github.com/annaguo-bios/flexCausal>",
      "topics": [
        "data_example_a"
      ]
    },
    {
      "page": "data_example_b",
      "title": "Data generated from the simulation model in Figure 4(b) of the paper <https://arxiv.org/abs/2409.03962>. The model can also be found in Figure (b) of the github repository: <https://github.com/annaguo-bios/flexCausal>",
      "topics": [
        "data_example_b"
      ]
    },
    {
      "page": "data_frontdoor",
      "title": "Data generated from a classic front-door model.",
      "topics": [
        "data_frontdoor"
      ]
    },
    {
      "page": "estADMG",
      "title": "Estimate the average causal effect (ACE) or the average counterfactual outcome E(Y(a)) from observational data under a DAG with hidden variables.",
      "topics": [
        "estADMG"
      ]
    },
    {
      "page": "f.adj_matrix",
      "title": "Build an adjacency matrix from a graph.",
      "topics": [
        "f.adj_matrix"
      ]
    },
    {
      "page": "f.children",
      "title": "Get the children of a node OR nodes in a graph.",
      "topics": [
        "f.children"
      ]
    },
    {
      "page": "f.descendants",
      "title": "Get the descendants of a node OR nodes in a graph.",
      "topics": [
        "f.descendants"
      ]
    },
    {
      "page": "f.district",
      "title": "Get the district of a vertex in a graph.",
      "topics": [
        "f.district"
      ]
    },
    {
      "page": "f.markov_blanket",
      "title": "Get the Markov blanket of a vertex in a graph.",
      "topics": [
        "f.markov_blanket"
      ]
    },
    {
      "page": "f.markov_pillow",
      "title": "Get the Markov pillow of a vertex in a graph.",
      "topics": [
        "f.markov_pillow"
      ]
    },
    {
      "page": "f.parents",
      "title": "Get the parents of a node OR nodes in a graph.",
      "topics": [
        "f.parents"
      ]
    },
    {
      "page": "f.reachable_closure",
      "title": "Reachable closure of a set of vertices in a graph.",
      "topics": [
        "f.reachable_closure"
      ]
    },
    {
      "page": "f.top_order",
      "title": "Get the topological ordering of a graph from a graph object.",
      "topics": [
        "f.top_order"
      ]
    },
    {
      "page": "is.fix",
      "title": "Fixability of a treatment variable in a graph.",
      "topics": [
        "is.fix"
      ]
    },
    {
      "page": "is.mb.shielded",
      "title": "Check if a graph is mb-shielded.",
      "topics": [
        "is.mb.shielded"
      ]
    },
    {
      "page": "is.np.saturated",
      "title": "Check if a graph is nonparametrically saturated.",
      "topics": [
        "is.np.saturated"
      ]
    },
    {
      "page": "is.p.fix",
      "title": "Primal fixability of a treatment variable in a graph.",
      "topics": [
        "is.p.fix"
      ]
    },
    {
      "page": "make.graph",
      "title": "Create graph object.",
      "topics": [
        "make.graph"
      ]
    }
  ],
  "_readme": "https://github.com/annaguo-bios/flexcausal/raw/HEAD/README.md",
  "_rundeps": [
    "bitops",
    "caTools",
    "cli",
    "codetools",
    "cvAUC",
    "data.table",
    "densratio",
    "dplyr",
    "foreach",
    "gam",
    "generics",
    "glue",
    "gplots",
    "gtools",
    "iterators",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "MASS",
    "mvtnorm",
    "nnls",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "ROCR",
    "SuperLearner",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "flexCausal",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "A Brief Introduction to ADMGs",
        "Quick Start on Estimation",
        "Details on Estimation via TMLE estimator and onestep estimator",
        "The Onestep Estimator",
        "The TMLE",
        "Output",
        "Functions for learning the properties of ADMG"
      ],
      "created": "2024-03-27 02:15:31",
      "modified": "2026-03-19 20:31:47",
      "commits": 9
    }
  ],
  "_score": 5.459392487759231,
  "_indexed": true,
  "_nocasepkg": "flexcausal",
  "_universes": [
    "annaguo-bios"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-01T09:37:38.000Z",
      "distro": "noble",
      "commit": "229d80365c3e6500a36c55a686baae5c0b1fa433",
      "fileid": "2b2604ea3d28b0600f2a7d3752df4c06f9169c7fff30069d593d8ccc74fd782f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/annaguo-bios/actions/runs/26746779830"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-01T09:37:34.000Z",
      "distro": "noble",
      "commit": "229d80365c3e6500a36c55a686baae5c0b1fa433",
      "fileid": "32c0db962c885298c9b557d617087f8e5c6945f48ada9302a4005786870582fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/annaguo-bios/actions/runs/26746779830"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-01T09:38:00.000Z",
      "commit": "229d80365c3e6500a36c55a686baae5c0b1fa433",
      "fileid": "647fc52dbf873946b0ffc68727c03a233e4fbab52ac3d574083fc393fffa93b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/annaguo-bios/actions/runs/26746779830"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-01T09:37:27.000Z",
      "commit": "229d80365c3e6500a36c55a686baae5c0b1fa433",
      "fileid": "a72c7623c35680f103012fb10db250e222f320b1f91b89cc31a1660b6754d2d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/annaguo-bios/actions/runs/26746779830"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-01T09:37:39.000Z",
      "commit": "229d80365c3e6500a36c55a686baae5c0b1fa433",
      "fileid": "d4b143335ac61ca200245bd8e6d1680bb959c8bc01f8a5d21fec7a83c917e6dd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/annaguo-bios/actions/runs/26746779830"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-01T09:36:49.000Z",
      "commit": "229d80365c3e6500a36c55a686baae5c0b1fa433",
      "fileid": "3373f5e73dc1d26e34cb5be55a2b8ea48a8526f3758c0252547af059e37e5bc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/annaguo-bios/actions/runs/26746779830"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-01T09:37:34.000Z",
      "commit": "229d80365c3e6500a36c55a686baae5c0b1fa433",
      "fileid": "e4b956c986c63ef0b996ebdf12a3a759698cb3bae546422be43c5ab76225b7d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/annaguo-bios/actions/runs/26746779830"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-01T09:37:26.000Z",
      "commit": "229d80365c3e6500a36c55a686baae5c0b1fa433",
      "fileid": "db73fd334f6f4f1baba395ea697cec6f61c25e762213c7355af58b0b655e4046",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/annaguo-bios/actions/runs/26746779830"
    }
  ]
}