RRR: Relative Reporting Risk (RRR)

Description Usage Arguments Value

View source: R/RRR.R

Description

Determines the RRR for a collection of 2 x 2 tables of the form

event not event
drug a c
not drug b d

Usage

1
RRR(a, b, c, d)

Arguments

a

A vector with the counts of the upper left corner of the tables

b

A vector with the counts of the lower left corner of the tables

c

A vector with the counts of the upper right corner of the tables

d

A vector with the counts of the lower right corner of the tables

Value

The RRR


bips-hb/pvm documentation built on Dec. 14, 2020, 9:31 a.m.