rel.risk: Calculate the relative risk from a 2-by-2 table

View source: R/rel.risk.r

rel.riskR 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.


samplesizeCMH documentation built on May 29, 2024, 5:34 a.m.