(an R object convertible to a) \(2\times 2\) integermatrix,
contingency table of two Boolean variables.
The endpoint (i.e., disease) is on rows and the test/risk on columns.
formula
formula in the fashion of ~disease+test or ~disease+risk, see function xtabs