createTable: Create 2 x 2 Table

Description Usage Arguments Value

View source: R/createTable.R

Description

Returns a 2 x 2 contingency table of the form:

event not event
drug a c
not drug b d

Usage

1
createTable(a, b, c, d)

Arguments

a

Count in the upper left corner of the table

b

Count in the lower left corner of the table

c

Count in the upper right corner of the table

d

Count in the lower right corner of the table

Value

A 2 x 2 matrix


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