getContStat {rrMisc} | R Documentation |
Get statistics of contingency table
getContStat(d.crosstab, switchPosNeg = FALSE, ...)
d.crosstab |
contincency table in class 'table |
switchPosNeg |
switching positive and negative classes |
... |
arguments passed to further functions |
utility function for analyzing contingency tables
statistics of contingency table
to be refined
Roland Rapold
none
other utility-functions in this R-package
d.crosstab <- matrix(c(65.64, 1.95, 27.81, 4.6), ncol = 2, byrow = TRUE) colnames(d.crosstab) <- c("true 0", "true 1") rownames(d.crosstab) <- c("fit 0", "fit 1") d.crosstab <- as.table(d.crosstab) getContStat(d.crosstab)