{
  "_id": "6afece83d65881f9616f3eeb",
  "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-11-19 10:07:13 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]",
  "_user": "openpharma",
  "_type": "src",
  "_file": "beeca_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0794473f5efe7152cf875d4da3c699c4b8ce8e26cc1bea712de9297f070fce01",
  "_filesize": 208662,
  "_sha256": "0794473f5efe7152cf875d4da3c699c4b8ce8e26cc1bea712de9297f070fce01",
  "_expires": "2027-02-27T10:25:05.000Z",
  "_created": "2026-11-19T10:07:13.000Z",
  "_published": "2026-11-20T02:58:13.602Z",
  "_upstream": "https://github.com/openpharma/beeca",
  "_status": "success",
  "_maintainer": {
    "name": "Alex Przybylski",
    "email": "alexander.przybylski@novartis.com",
    "login": "przybal2",
    "description": "",
    "uuid": 137296503
  },
  "_jobs": [
    {
      "job": 135486308735,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14518760536"
    },
    {
      "job": 135486307789,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14518107403"
    },
    {
      "job": 135486307663,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14519027193"
    },
    {
      "job": 135486307492,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14518519286"
    },
    {
      "job": 135484342244,
      "time": 217,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14516649727"
    },
    {
      "job": 135486307472,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14517752710"
    },
    {
      "job": 135486307620,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14518450908"
    },
    {
      "job": 135486307784,
      "time": 95,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14518077603"
    },
    {
      "job": 135486307631,
      "time": 96,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14518550630"
    }
  ],
  "_buildurl": "https://github.com/r-universe/openpharma/actions/runs/44502090368",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 274,
    "description": "Further precompetitive collaboration in life sciences"
  },
  "_downloads": {
    "count": 592,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/beeca"
  },
  "_devurl": "https://github.com/openpharma/beeca",
  "_pkgdown": "https://openpharma.github.io/beeca/",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/beeca.html",
    "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"
  ],
  "_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.3222192947339195,
  "_indexed": true,
  "_nocasepkg": "beeca",
  "_universes": [
    "openpharma",
    "przybal2"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-19T10:09:37.000Z",
      "distro": "resolute",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/652127c0451f3c10c637e122a17181b484f3df5b54355a23165912ad8d66ec6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/44502090368"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-19T10:09:35.000Z",
      "distro": "resolute",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/d675899e2ade5dbda0b0798e698aea9d8186dc143690fe87ed39f0e32f167e61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/44502090368"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-11-19T10:24:32.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/5f592b82f6fe30b529b7a39905d9f61626370e608f9b21a2f7a549db89be35b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/44502090368"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-11-19T10:24:19.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/f08787dfce218714ff874a7965a5004caad29932f74cb292e0bf475da6f56c02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/44502090368"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-11-19T10:09:30.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/7e29ee941ffb60e26d4febc9868ad07ceb34092664c2e199857bf143ba2ee142",
      "status": "success",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/44502090368"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-19T10:08:32.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/0a178706a4703a8b87065cdf1dc3719086db723a091fb097378df2347a78a422",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/44502090368"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-19T10:08:42.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/3dff4b0a29f84c398a841b721c52de46d321b138612d355ba7437ef831be827f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/44502090368"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-19T10:08:40.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/cb37236548d3ae40677a08def538acfd94408ea979c6bf3320a23cf03aef9a15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/44502090368"
    }
  ]
}