{
  "_id": "6a38efff3efcd9bda443d52d",
  "Package": "beeca",
  "Title": "Binary Endpoint Estimation with Covariate Adjustment",
  "Version": "0.2.0",
  "Authors@R": "c(person(given = \"Alex\",\nfamily = \"Przybylski\",\nemail = \"alexander.przybylski@novartis.com\",\nrole = c(\"cre\", \"aut\")\n),\nperson(given = \"Mark\",\nfamily = \"Baillie\",\nemail = \"mark.baillie@novartis.com\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-5618-0667\")\n),\nperson(given = \"Craig\",\nfamily = \"Wang\",\nemail = \"craig.wang@novartis.com\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0003-1804-2463\")\n),\nperson(given = \"Dominic\",\nfamily = \"Magirr\",\nemail = \"dominic.magirr@novartis.com\",\nrole = c(\"aut\")\n))",
  "Description": "Performs estimation of marginal treatment effects for\nbinary outcomes when using logistic regression working models\nwith covariate adjustment (see discussions in Magirr et al\n(2024) <https://osf.io/9mp58/>). Implements the variance\nestimators of Ge et al (2011) <doi:10.1177/009286151104500409>\nand Ye et al (2023) <doi:10.1080/24754269.2023.2205802>.",
  "Maintainer": "Alex Przybylski <alexander.przybylski@novartis.com>",
  "License": "LGPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://openpharma.github.io/beeca/",
  "BugReports": "https://github.com/openpharma/beeca/issues",
  "Repository": "https://openpharma.r-universe.dev",
  "Date/Publication": "2024-11-12 12:44:59 UTC",
  "RemoteUrl": "https://github.com/openpharma/beeca",
  "RemoteRef": "HEAD",
  "RemoteSha": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-22 08:14:55 UTC",
    "User": "root"
  },
  "Author": "Alex Przybylski [cre, aut],\nMark Baillie [aut] (ORCID: <https://orcid.org/0000-0002-5618-0667>),\nCraig Wang [aut] (ORCID: <https://orcid.org/0000-0003-1804-2463>),\nDominic Magirr [aut]",
  "MD5sum": "39b4689b0ab342dbca84f2253e930bc8",
  "_user": "openpharma",
  "_type": "src",
  "_file": "beeca_0.2.0.tar.gz",
  "_fileid": "9cc2722ce74d701323412823998c52bf2d04b9e0de62f66fb69168a7abe26f7b",
  "_filesize": 210979,
  "_sha256": "9cc2722ce74d701323412823998c52bf2d04b9e0de62f66fb69168a7abe26f7b",
  "_created": "2026-06-22T08:14:55.000Z",
  "_published": "2026-06-22T08:19:11.282Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82667433294,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7786731143"
    },
    {
      "job": 82667433266,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7786732251"
    },
    {
      "job": 82667433360,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7786705340"
    },
    {
      "job": 82667433286,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7786722043"
    },
    {
      "job": 82666748385,
      "time": 221,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7786670519"
    },
    {
      "job": 82667433339,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7786722304"
    },
    {
      "job": 82667433312,
      "time": 105,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7786713598"
    },
    {
      "job": 82667433291,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7786712687"
    },
    {
      "job": 82667433343,
      "time": 100,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7786711533"
    }
  ],
  "_buildurl": "https://github.com/r-universe/openpharma/actions/runs/27938745982",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/openpharma/beeca",
  "_commit": {
    "id": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
    "author": "przybal2 <137296503+przybal2@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "update docs for multiarm extension (#22)\n\n* update docs for multiarm extension\r\n\r\n* remove codecov gha job",
    "time": 1731415499
  },
  "_maintainer": {
    "name": "Alex Przybylski",
    "email": "alexander.przybylski@novartis.com",
    "login": "przybal2",
    "description": "",
    "uuid": 137296503
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "marginaleffects",
      "role": "Suggests"
    },
    {
      "package": "margins",
      "role": "Suggests"
    },
    {
      "package": "RobinCar",
      "version": ">= 0.3.0",
      "role": "Suggests"
    }
  ],
  "_owner": "openpharma",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "ard",
    "covariate-adjustment",
    "delta-method",
    "marginal-effects",
    "marginal-estimand"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "przybal2",
      "count": 17,
      "uuid": 137296503
    },
    {
      "user": "bailliem",
      "count": 5,
      "uuid": 19621679
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 8436743,
    "type": "organization",
    "name": "openpharma",
    "followers": 259,
    "description": "Further precompetitive collaboration in life sciences"
  },
  "_downloads": {
    "count": 605,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/beeca"
  },
  "_devurl": "https://github.com/openpharma/beeca",
  "_pkgdown": "https://openpharma.github.io/beeca/",
  "_searchresults": 11,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/beeca.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/openpharma/beeca",
  "_realowner": "openpharma",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2024-06-18"
    },
    {
      "version": "0.2.0",
      "date": "2024-11-14"
    }
  ],
  "_exports": [
    "apply_contrast",
    "average_predictions",
    "estimate_varcov",
    "get_marginal_effect",
    "predict_counterfactuals",
    "sanitize_model"
  ],
  "_datasets": [
    {
      "name": "ge_macro_trial01",
      "title": "Output from the Ge et al (2011) SAS macro applied to the trial01 dataset",
      "object": "ge_macro_trial01",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "diff",
        "se",
        "pt",
        "pC",
        "lower",
        "upper"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "margins_trial01",
      "title": "Output from the Margins SAS macro applied to the trial01 dataset",
      "object": "margins_trial01",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Estimate",
        "ChiSq",
        "Row",
        "StdErr",
        "Lower",
        "Upper",
        "Contrast",
        "df",
        "Pr",
        "Alpha",
        "label"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "trial01",
      "title": "Example trial dataset 01",
      "object": "trial01",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "usubjid",
        "aval",
        "trtp",
        "bl_cov",
        "bl_cov_c",
        "region_2",
        "region_3",
        "region_4",
        "region_5"
      ],
      "rows": 268,
      "table": true,
      "tojson": true
    },
    {
      "name": "trial02_cdisc",
      "title": "Example CDISC Clinical Trial Dataset in ADaM Format",
      "object": "trial02_cdisc",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "USUBJID",
        "PARAM",
        "AGE",
        "AGEGR1",
        "AGEGR1N",
        "RACE",
        "RACEN",
        "SEX",
        "TRTP",
        "TRTPN",
        "AVAL",
        "AVALC",
        "FASFL"
      ],
      "rows": 254,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "apply_contrast",
      "title": "Apply contrast to calculate marginal estimate of treatment effect and corresponding standard error",
      "topics": [
        "apply_contrast"
      ]
    },
    {
      "page": "average_predictions",
      "title": "Average over counterfactual predictions",
      "topics": [
        "average_predictions"
      ]
    },
    {
      "page": "estimate_varcov",
      "title": "Estimate variance-covariance matrix for marginal estimand based on GLM model",
      "topics": [
        "estimate_varcov"
      ]
    },
    {
      "page": "ge_macro_trial01",
      "title": "Output from the Ge et al (2011) SAS macro applied to the trial01 dataset",
      "topics": [
        "ge_macro_trial01"
      ]
    },
    {
      "page": "get_marginal_effect",
      "title": "Estimate marginal treatment effects using a GLM working model",
      "topics": [
        "get_marginal_effect"
      ]
    },
    {
      "page": "margins_trial01",
      "title": "Output from the Margins SAS macro applied to the trial01 dataset",
      "topics": [
        "margins_trial01"
      ]
    },
    {
      "page": "predict_counterfactuals",
      "title": "Predict counterfactual outcomes in GLM models",
      "topics": [
        "predict_counterfactuals"
      ]
    },
    {
      "page": "trial01",
      "title": "Example trial dataset 01",
      "topics": [
        "trial01"
      ]
    },
    {
      "page": "trial02_cdisc",
      "title": "Example CDISC Clinical Trial Dataset in ADaM Format",
      "topics": [
        "trial02_cdisc"
      ]
    }
  ],
  "_readme": "https://github.com/openpharma/beeca/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "sandwich",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "estimand_and_implementations.Rmd",
      "filename": "estimand_and_implementations.html",
      "title": "Introduction to estimating a marginal estimand with beeca",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "General concepts",
        "What is an average treatment effect?",
        "How to estimate \"unconditional / marginal\" average treatment effect?",
        "How to estimate the variance of the g-computation estimator of average treatment effect?",
        "Analysis example",
        "Comparing different implementations",
        "Ge et al (2011)",
        "Ye et al (2023)",
        "References"
      ],
      "created": "2024-06-05 12:20:53",
      "modified": "2024-11-12 12:44:59",
      "commits": 6
    }
  ],
  "_score": 5.363611979892145,
  "_indexed": true,
  "_nocasepkg": "beeca",
  "_universes": [
    "openpharma",
    "przybal2"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-22T08:17:27.000Z",
      "distro": "noble",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "bfa1bc745e0566b1b3411b3f599be08719534e03c8019ff22a9884c47b2d8628",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/27938745982"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-22T08:17:30.000Z",
      "distro": "noble",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "56a1ad6ff28204b730534575024e20a303e7170cd54322cb2841c82ec812607a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/27938745982"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-22T08:16:29.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "4b1a6b5e38e7eb6bd5d2d8b464225074bf7ec345292e94e4bdb9ae852763f401",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/27938745982"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-22T08:17:05.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "d81b1a56cf373b95208712bd21e2b1ed5cabe3dc858dd2993e7495500437b34d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/27938745982"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-22T08:17:24.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "8f9127a117ce0f4f950a9f42b4f1762684215a5342ab0e4346c12cd1e80f1010",
      "status": "success",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/27938745982"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-22T08:16:35.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "89e5a460d89fbe9791710b59fbdca42f95abc4ddd5722f874706a74170e9247c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/27938745982"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-22T08:16:32.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "191f8b444182d123e0cdba306f14aff393f1c12f56746c3039ffae80020fc7a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/27938745982"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-22T08:16:30.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "ea937058ccae3543a52b3d9c38cc0a6cbdf6d5012b909af88f67bf34beab8114",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/27938745982"
    }
  ]
}