The function computes relative risk (RR), odds ration (OR), and several
other risk measures; see details.
Usage
risks(p0, p1)
Arguments
p0
numeric vector of length 1: incidence of the outcome of interest in
the nonexposed group.
p1
numeric vector of length 1: incidence of the outcome of interest in
the exposed group.
Value
Vector including several risk measures.
Details
The function computes relative risk (RR), odds-ratio (OR), relative risk
reduction (RRR) resp. relative risk increase (RRI), absolute risk reduction (ARR)
resp. absolute risk increase (ARI), number needed to treat (NNT) resp.
number needed to harm (NNH).