Skip to content

Feature Request: Add contingency table statistics (e.g., odds ratio, risk ratio) #303

@Polkas

Description

@Polkas

What's the feature?

We would like to contribute new functionality to the {cardx} package for analyzing contingency tables, specifically to enable calculation and reporting of effect estimates such as the odds ratio (OR) and risk ratio (RR), along with confidence intervals.

Motivation

In clinical studies and similar settings, users often want quick calculation of association measures (e.g., OR, RR) between groups for binary/2x2 tables (such as adverse events vs. treatment).

Proposed features

New functions to produce contingency table statistics.

Request

  • Would such a contribution be welcome?
  • Do you have any design suggestions or guidelines I should follow?
  • Are there open PRs or plans for this already, or is this a good place for me to contribute?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions