createTable: Create 2 x 2 Table

View source: R/createTable.R

createTableR Documentation

Create 2 x 2 Table

Description

Returns a 2 x 2 contingency table of the form:

event not event
drug a c
not drug b d

Usage

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 Feb. 13, 2025, 3:32 a.m.