Learn R Programming

contingencytables (version 3.1.0)

the_2x2_table_CIs_difference: The 2x2 table CIs difference

Description

Wrapper for _CI_2x2 functions on Chapter 4.

Usage

the_2x2_table_CIs_difference(n, alpha = 0.05)

Value

NULL. This function should be called for its printed output

Arguments

n

frequency matrix

alpha

type I error

Table orientation

In most study designs, rows designate a grouping of the data, for instance, into treatment or exposure groups, while the columns indicate a dichotomous outcome, usually with the first column representing the outcome of interest. This designation of rows and columns may not be relevant in all study designs, please see the introduction to chapter 4 for details.

Examples

Run this code
# An RCT of high vs standard dose of epinephrine (Perondi et al., 2004)
the_2x2_table_CIs_difference(perondi_2004)

# The association between CHRNA4 genotype and XFS (Ritland et al., 2007)
the_2x2_table_CIs_difference(ritland_2007)

Run the code above in your browser using DataLab