{
  "_id": "6a60605414e95619b75d9107",
  "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-07-22 06:13:15 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/a3bc1ed0f877433649abe6448189b014e9b06979f552f6fbf2fa63cccd02a8be",
  "_filesize": 208925,
  "_sha256": "a3bc1ed0f877433649abe6448189b014e9b06979f552f6fbf2fa63cccd02a8be",
  "_expires": "2026-10-30T06:16:50.000Z",
  "_created": "2026-07-22T06:13:15.000Z",
  "_published": "2026-07-22T06:16:52.472Z",
  "_jobs": [
    {
      "job": 88846479847,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8520076582"
    },
    {
      "job": 88846479862,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8520073691"
    },
    {
      "job": 88846479846,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8520058288"
    },
    {
      "job": 88846479874,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8520055898"
    },
    {
      "job": 88845848664,
      "time": 239,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8520022774"
    },
    {
      "job": 88846479881,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8520068496"
    },
    {
      "job": 88846479945,
      "time": 79,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8520047968"
    },
    {
      "job": 88846479868,
      "time": 93,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8520051856"
    },
    {
      "job": 88846479934,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8520054321"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/openpharma/actions/runs/29895826373",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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": 263,
    "description": "Further precompetitive collaboration in life sciences"
  },
  "_downloads": {
    "count": 412,
    "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.1",
  "_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-07-22T06:16:02.000Z",
      "distro": "resolute",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/811d754ecaa6b2b5b48da39e8c35a45b6586674e1cf1a12a78ec63a2f351a872",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/29895826373"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-22T06:15:56.000Z",
      "distro": "resolute",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/c3d4d61d279872193c07c4af1c8db3d27d3f290ef51e910fbb0f8e76a84ce13a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/29895826373"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-22T06:15:09.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/73e2feb1eeb94bb1937cfa9f2b24911713f96ea3df077e3b962e232e0e8914c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/29895826373"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-22T06:15:03.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/cb9b67a63230352d3a24a01fa04e65d62335a1b9d245274d21282d4515a78e30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/29895826373"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-07-22T06:15:59.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/b90cd05c2e15ab28f476819540525fd1ab8ac7ec07059fa54bf9c9ce25e0ed59",
      "status": "success",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/29895826373"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-22T06:14:27.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/3375e529274b99647dd1b731f0e28e5c24a5f3f30920ffca0b51ebf748dcfb76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/29895826373"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-22T06:14:39.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/411aba3a48839a297c0a7e14222d3450476ed1618f66795727824263a676e734",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/29895826373"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-22T06:14:49.000Z",
      "commit": "4b72c14afc83ffc36eafa3c94b98ebc3d116fcbc",
      "fileid": "https://r2.ropensci.org/5230196e5354861d0431fff3b8f1d98e88915a06994109988f33e5638f6bd732",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/29895826373"
    }
  ]
}