tidy.epi.2by2: Tidy epi.2by2 output to give data.frame of estimates and CI

View source: R/epi_2by2.R

tidy.epi.2by2R Documentation

Tidy epi.2by2 output to give data.frame of estimates and CI

Description

Tidy epi.2by2 output to give data.frame of estimates and CI

Usage

## S3 method for class 'epi.2by2'
tidy(x, ...)

Arguments

x

An epi.2by2 object

...

other arguments (ignored)

Examples

res <- epi_2by2(mtcars,
                  am == 1,
                  cyl == 4,
                  conf.level = 0.95)
tidy(res)

ianhandel/epidemr documentation built on April 13, 2022, 11:08 a.m.