attack.rate: Compute attack rates

Description Usage Arguments Value

View source: R/stats.R

Description

Compute attack rates for two by two tables

Usage

1
attack.rate(outcome, exposure, data, rowcol = "cols")

Arguments

outcome

Variable for outcome values

exposure

Variable to be tested as risk factor

data

The dataset

rowcol

Row or col percentage

Value

The result table


gdesve/epifield documentation built on May 14, 2019, 5:14 a.m.