ir: Calculate table for incidence data

Description Usage Arguments Value

View source: R/ir.R

Description

This function gives a table of results for incidence data

Usage

1
ir(cases, exposure, time, output = "plain", digits = 2)

Arguments

cases

string of case variable

exposure

string of exposure variable

time

time of exposure for subjects

output

type of table output ( e.g. "plain", "rmarkdown")

data

data frame we are working on

Value

tables of results and statistics table contains table of cases, time at risk and incidence rate split along category exposed/unexposed. If option output = "rmarkdown", then no return but markdown tables are printed.


jakobschumacher/epietr documentation built on May 18, 2019, 10:12 a.m.