{
  "_id": "6abe38d499f7aa8c6aa53f4d",
  "Package": "risks",
  "Title": "Estimate Risk Ratios and Risk Differences using Regression",
  "Version": "0.4.3",
  "Authors@R": "c(person(given = \"Konrad\",\nfamily = \"Stopsack\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"stopsack@post.harvard.edu\",\ncomment = c(ORCID = \"0000-0002-0722-1311\")),\nperson(given = \"Travis\",\nfamily = \"Gerke\",\nrole = c(\"aut\"),\nemail = \"tgerke@mail.harvard.edu\",\ncomment = c(ORCID = \"0000-0002-9500-8907\")))",
  "Description": "Risk ratios and risk differences are estimated using\nregression models that allow for binary, categorical, and\ncontinuous exposures and confounders. Implemented are marginal\nstandardization after fitting logistic models (g-computation)\nwith delta-method and bootstrap standard errors, Miettinen's\ncase-duplication approach (Schouten et al. 1993,\n<doi:10.1002/sim.4780121808>), log-binomial (Poisson) models\nwith empirical variance (Zou 2004, <doi:10.1093/aje/kwh090>),\nbinomial models with starting values from Poisson models\n(Spiegelman and Hertzmark 2005, <doi:10.1093/aje/kwi188>), and\nothers.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://stopsack.github.io/risks/",
  "BugReports": "https://github.com/stopsack/risks/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://stopsack.r-universe.dev",
  "Date/Publication": "2025-06-01 14:33:18 UTC",
  "RemoteUrl": "https://github.com/stopsack/risks",
  "RemoteRef": "HEAD",
  "RemoteSha": "54b5f463fd1e7dbcb545f6f5ed5e23a4b8f70af2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-01 10:36:46 UTC",
    "User": "root"
  },
  "Author": "Konrad Stopsack [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-0722-1311>),\nTravis Gerke [aut] (ORCID: <https://orcid.org/0000-0002-9500-8907>)",
  "Maintainer": "Konrad Stopsack <stopsack@post.harvard.edu>",
  "_user": "stopsack",
  "_type": "src",
  "_file": "risks_0.4.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/09f2fa8c56c52e5f1c6855b5fe13781c9e80dd866250915bde1da4b42e4f9153",
  "_filesize": 4633989,
  "_sha256": "09f2fa8c56c52e5f1c6855b5fe13781c9e80dd866250915bde1da4b42e4f9153",
  "_expires": "2027-01-09T10:41:22.000Z",
  "_created": "2026-10-01T10:36:46.000Z",
  "_published": "2026-10-01T10:41:24.527Z",
  "_jobs": [
    {
      "job": 110329957956,
      "time": 199,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11155621251"
    },
    {
      "job": 110329957927,
      "time": 229,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11155501003"
    },
    {
      "job": 110329957960,
      "time": 144,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11155895397"
    },
    {
      "job": 110329957942,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11154769710"
    },
    {
      "job": 110328370832,
      "time": 285,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11154729523"
    },
    {
      "job": 110329958000,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11154364696"
    },
    {
      "job": 110329958058,
      "time": 154,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11154799687"
    },
    {
      "job": 110329958106,
      "time": 165,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11154809786"
    },
    {
      "job": 110329958024,
      "time": 134,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11155950143"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/stopsack/actions/runs/36849733401",
  "_status": "success",
  "_upstream": "https://github.com/stopsack/risks",
  "_commit": {
    "id": "54b5f463fd1e7dbcb545f6f5ed5e23a4b8f70af2",
    "author": "Konrad H. Stopsack <35557324+stopsack@users.noreply.github.com>",
    "committer": "Konrad H. Stopsack <35557324+stopsack@users.noreply.github.com>",
    "message": "fulfill CRAN requirements for v0.4.3\n",
    "time": 1748788398
  },
  "_maintainer": {
    "name": "Konrad Stopsack",
    "email": "stopsack@post.harvard.edu",
    "orcid": "0000-0002-0722-1311"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "bcaboot",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "addreg",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "logbin",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "stopsack",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "binomial",
    "biostatistics",
    "epidemiology",
    "regression-models"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "stopsack",
      "count": 64,
      "uuid": 35557324
    },
    {
      "user": "tgerke",
      "count": 46,
      "uuid": 3831928
    }
  ],
  "_userbio": {
    "uuid": 35557324,
    "type": "user",
    "name": "Konrad H. Stopsack",
    "followers": 13,
    "description": "Epidemiologist"
  },
  "_downloads": {
    "count": 501,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/risks"
  },
  "_devurl": "https://github.com/stopsack/risks",
  "_pkgdown": "https://stopsack.github.io/risks/",
  "_searchresults": 14,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/risks.html"
  ],
  "_homeurl": "https://github.com/stopsack/risks",
  "_realowner": "stopsack",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.2",
      "date": "2023-06-13"
    },
    {
      "version": "0.4.3",
      "date": "2025-05-30"
    }
  ],
  "_exports": [
    "conv.test",
    "riskdiff",
    "riskratio",
    "rr_rd_mantel_haenszel"
  ],
  "_datasets": [
    {
      "name": "breastcancer",
      "title": "Breast Cancer Data",
      "object": "breastcancer",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "death",
        "stage",
        "receptor"
      ],
      "rows": 192,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "breastcancer",
      "title": "Breast Cancer Data",
      "topics": [
        "breastcancer"
      ]
    },
    {
      "page": "confint.risks",
      "title": "Confidence Intervals for Model Parameters",
      "topics": [
        "confint.risks"
      ]
    },
    {
      "page": "is.risks",
      "title": "Check Risks Class",
      "topics": [
        "is.risks"
      ]
    },
    {
      "page": "print.risks",
      "title": "Print model",
      "topics": [
        "print.risks"
      ]
    },
    {
      "page": "print.summary.risks",
      "title": "Print model summary",
      "topics": [
        "print.summary.risks"
      ]
    },
    {
      "page": "riskratio",
      "title": "Fit risk ratio and risk difference models",
      "topics": [
        "riskdiff",
        "riskratio"
      ]
    },
    {
      "page": "risks",
      "title": "risks: Estimate risk ratios and risk differences using regression",
      "topics": [
        "risks-package",
        "risks"
      ]
    },
    {
      "page": "rr_rd_mantel_haenszel",
      "title": "Risk Ratios and Risk Differences from Mantel-Haenszel Estimators",
      "topics": [
        "rr_rd_mantel_haenszel"
      ]
    },
    {
      "page": "summary.duplicate",
      "title": "Summary for logistic model with case duplication and cluster-robust covariance",
      "topics": [
        "summary.duplicate"
      ]
    },
    {
      "page": "summary.margstd_boot",
      "title": "Summary for models using marginal standardization",
      "topics": [
        "summary.margstd_boot"
      ]
    },
    {
      "page": "summary.margstd_delta",
      "title": "Summary for models using marginal standardization with delta method SEs",
      "topics": [
        "summary.margstd_delta"
      ]
    },
    {
      "page": "summary.risks",
      "title": "Generate model summary",
      "topics": [
        "summary.risks"
      ]
    },
    {
      "page": "summary.robpoisson",
      "title": "Summary for Poisson model with robust covariance",
      "topics": [
        "summary.robpoisson"
      ]
    },
    {
      "page": "tidy.risks",
      "title": "Tidy model summaries for risks models",
      "topics": [
        "tidy.risks"
      ]
    }
  ],
  "_pkglogo": "https://github.com/stopsack/risks/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/stopsack/risks/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bcaboot",
    "boot",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "sandwich",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "risks.Rmd",
      "filename": "risks.html",
      "title": "Introduction to the risks package: Get Started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "An example cohort study",
        "Adjusted risk ratios",
        "Adjusted risk differences",
        "Accessing model coefficients",
        "More post-estimation commands"
      ],
      "created": "2021-02-19 13:35:24",
      "modified": "2025-03-20 15:07:20",
      "commits": 5
    },
    {
      "source": "margstd.Rmd",
      "filename": "margstd.html",
      "title": "Marginal standardization",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The basics",
        "Choice of exposure variable",
        "Bootstrap confidence intervals",
        "Bootstrap repeats"
      ],
      "created": "2021-02-19 13:35:24",
      "modified": "2023-06-13 12:58:24",
      "commits": 6
    },
    {
      "source": "models.Rmd",
      "filename": "models.html",
      "title": "Models and model comparisons",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Implemented model types",
        "Model choice",
        "Model comparisons"
      ],
      "created": "2021-02-19 13:35:24",
      "modified": "2024-04-16 20:39:54",
      "commits": 7
    }
  ],
  "_score": 6.003460532109506,
  "_indexed": true,
  "_nocasepkg": "risks",
  "_universes": [
    "stopsack"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-10-01T10:39:19.000Z",
      "distro": "resolute",
      "commit": "54b5f463fd1e7dbcb545f6f5ed5e23a4b8f70af2",
      "fileid": "https://r2.ropensci.org/9e52159295306ff2c3d78a6e2c73c5e8f8c11453299746a4ef90a80a1f7ab329",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stopsack/actions/runs/36849733401"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-10-01T10:39:26.000Z",
      "distro": "resolute",
      "commit": "54b5f463fd1e7dbcb545f6f5ed5e23a4b8f70af2",
      "fileid": "https://r2.ropensci.org/2b4a90cfbaaf514243a6a81e28cd134de1ab4f0accf41392f7177419c5e400d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stopsack/actions/runs/36849733401"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-10-01T10:38:21.000Z",
      "commit": "54b5f463fd1e7dbcb545f6f5ed5e23a4b8f70af2",
      "fileid": "https://r2.ropensci.org/0abc1cdcfb77ff1dab0ab6e96058eb35f4aacd895c28006ecdffa47282524fa6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stopsack/actions/runs/36849733401"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-10-01T10:38:34.000Z",
      "commit": "54b5f463fd1e7dbcb545f6f5ed5e23a4b8f70af2",
      "fileid": "https://r2.ropensci.org/3c05594745f1d63c6a4ae1e2c7e1d4902326299de8e761b29c34679f17e5c5ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stopsack/actions/runs/36849733401"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.3",
      "date": "2026-10-01T10:39:08.000Z",
      "commit": "54b5f463fd1e7dbcb545f6f5ed5e23a4b8f70af2",
      "fileid": "https://r2.ropensci.org/cc4d4bb40a29f2332723a4247e182264502525bfa317b117118e8d37f58b7565",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stopsack/actions/runs/36849733401"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-10-01T10:38:31.000Z",
      "commit": "54b5f463fd1e7dbcb545f6f5ed5e23a4b8f70af2",
      "fileid": "https://r2.ropensci.org/eb951b12c17da1c29ec6f110b3ad0ac51cc589c27b1f22237a921505e6d69c64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stopsack/actions/runs/36849733401"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-10-01T10:38:06.000Z",
      "commit": "54b5f463fd1e7dbcb545f6f5ed5e23a4b8f70af2",
      "fileid": "https://r2.ropensci.org/756eb12e1463963ee9f6033211208aa6ad12c023a2f47f2a877f9a8ffb1644ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stopsack/actions/runs/36849733401"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-10-01T10:37:58.000Z",
      "commit": "54b5f463fd1e7dbcb545f6f5ed5e23a4b8f70af2",
      "fileid": "https://r2.ropensci.org/f4eb0385b81d9ec0973ffd44a13ae8c183cb12fd0b1ff3b014c032777c4f6701",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stopsack/actions/runs/36849733401"
    }
  ]
}