stratified_2x2_tables: Stratified 2x2 tables

View source: R/stratified_2x2_tables.R

stratified_2x2_tablesR Documentation

Stratified 2x2 tables

Description

Stratified 2x2 tables

Usage

stratified_2x2_tables(n, alpha = 0.05)

Arguments

n

the observed table (a 2x2xk matrix, where k is the number of strata)

alpha

the nominal level, e.g. 0.05 for 95% CIs

Value

NULL. This function should be called for its printed output

Examples

# Smoking and lung cancer (Doll and Hill, 1950)
stratified_2x2_tables(doll_hill_1950)

# Prophylactice use of Lidocaine in myocardial infarction (Hine et al., 1989)
stratified_2x2_tables(hine_1989)


ocbe-uio/contingencytables documentation built on Aug. 30, 2024, 7:16 a.m.