getContStat {rrMisc}R Documentation

Get statistics of contingency table

Description

Get statistics of contingency table

Usage

getContStat(d.crosstab, switchPosNeg = FALSE, ...)

Arguments

d.crosstab

contincency table in class 'table

switchPosNeg

switching positive and negative classes

...

arguments passed to further functions

Details

utility function for analyzing contingency tables

Value

statistics of contingency table

Note

to be refined

Author(s)

Roland Rapold

References

none

See Also

other utility-functions in this R-package

Examples

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)

[Package rrMisc version 0.48 Index]