calc_strata_or: Calculate the pooled strata OR

View source: R/calc_strata_or.R

calc_strata_orR Documentation

Calculate the pooled strata OR

Description

Each case and matched controls form a stratum in the data set. This function is to calculate the pooled OR for the data set.

Usage

calc_strata_or(dfs, filter = TRUE, filterdata = NULL)

Arguments

dfs

A named list of dataframes created by package functions

filter

Filter statement to apply

filterdata

Extra data to left join to the dfs for filtering

Details

Uses the M-H method unless there is only one strata for which the fisher.test is used. For more information, please refer to the vignette using browseVignettes("nncc").


nncc documentation built on May 29, 2024, 5:05 a.m.