rel.risk {samplesizeCMH} | R Documentation |
Calculate the relative risk from a 2-by-2 table
Description
Computes the relative risk of a specified column of a two-by-two table.
Usage
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(s)
Paul W. Egeler, M.S.
[Package samplesizeCMH version 0.0.3 Index]