Computes the relative risk of a specified column of a two-by-two table.

rel.risk(x, col.num = 1)

Arguments

x

A table or matrix containing frequencies.

col.num

The column number upon which relative risk should be calculated.

Value

A numeric vector.

Author

Paul W. Egeler, M.S.