{
  "_id": "6a114a4aacfb0bcc41ce8600",
  "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-05-23 06:30:38 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": "8837d2113f93e43c61723d09f75a8cbf",
  "_user": "openpharma",
  "_type": "src",
  "_file": "beeca_0.2.0.tar.gz",
  "_fileid": "fb1e599f163bfe0b5dc670fa8b29920fdc42f7ff8a318040d399fc4def5534e2",
  "_filesize": 208202,
  "_sha256": "fb1e599f163bfe0b5dc670fa8b29920fdc42f7ff8a318040d399fc4def5534e2",
  "_created": "2026-05-23T06:30:38.000Z",
  "_published": "2026-05-23T06:33:46.270Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77503307643,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7174956826"
    },
    {
      "job": 77503307648,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174955588"
    },
    {
      "job": 77503307640,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7174950007"
    },
    {
      "job": 77503307636,
      "time": 93,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174950953"
    },
    {
      "job": 77503129737,
      "time": 205,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174941463"
    },
    {
      "job": 77503307644,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174954421"
    },
    {
      "job": 77503307641,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7174952110"
    },
    {
      "job": 77503307652,
      "time": 111,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7174952903"
    },
    {
      "job": 77503307658,
      "time": 117,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174953359"
    }
  ],
  "_buildurl": "https://github.com/r-universe/openpharma/actions/runs/26325754574",
  "_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",
    "description": "Further precompetitive collaboration in life sciences"
  },
  "_downloads": {
    "count": 645,
    "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-05-23T06:33:08.000Z",
      "distro": "noble",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "4fb146014c136e2ce6786040ffb571aaec2cd700e839b55299c3de22333f17d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/26325754574"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-23T06:32:57.000Z",
      "distro": "noble",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "5f7b13a9e615f232ec28849b03c54dab1f4a2c3ef62498a39ca46bda5a422f31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/26325754574"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-23T06:32:05.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "621a91cc7b67d987062a68f529fd24f755898fb1c0d341c88759ab8ceb8296ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/26325754574"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-23T06:32:11.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "19cd51d178bc5345ffa157252204840965488aa7a6c67cbddb2f70f819ff3a34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/26325754574"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-23T06:33:04.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "3dee34934a023dc445ed5651ccc30e5f2de4fa73eba7f58942d952af2d4a060b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/26325754574"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-23T06:32:17.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "171e07aaac35d9a1728c46fda365dcc0accf317266ef127e75819388d6dced43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/26325754574"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-23T06:32:23.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "51e9bc8831e37e164afd106956c97ac84ebd3a8ab438a2a2ca35d6be1c1f80ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/26325754574"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-23T06:32:32.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "db8113d3397a97e16025c9a0567abf3eb74e7663b207de09760aae3bb6aa59fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/26325754574"
    }
  ]
}