[R] Relative Risk and Confidence Intervals

Tomas Aragon aragon at berkeley.edu
Mon Oct 17 18:10:01 CEST 2005


--- "MJ Price, Social Medicine" <Malcolm.Price at bristol.ac.uk> wrote:
> Dear all,
> 
> Despite searching the fullrefman file I have been unable to locate a 
> function to calculate the relative risk and confidence intervals from
> a simple 2 by 2 contingency table. Can anyone tell me how this is
> done.
> 
> Thanks in advance
> 
> Malcolm
> 
> ----------------------
> MJ Price, Social Medicine
> epmjp at bristol.ac.uk

Malcolm, Install the 'epitools' package and use the 'epitab' function,
and use method="riskratio"

Tomas
http://www.epitools.net
http://www.medepi.net/aragon/




More information about the R-help mailing list