Creates a cross table using two columns from the metadata
crossTab( object, true = NULL, pred = NULL, output = c("counts", "fraction", "prop"), digits = 2 )
object |
|
---|---|
true | Column name in |
pred | Column name in |
output | Return counts, fraction, or proportions? Default: counts |
digits | If proportions are returned, number of digits to round numbers |
A contingency table
Jose Alquicira Hernandez