calc_strata_or {nncc}R 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").


[Package nncc version 2.0.0 Index]