getContStat: Get statistics of contingency table

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/describe.R

Description

Get statistics of contingency table

Usage

1
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

1
2
3
4
5
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)

rrMisc documentation built on June 25, 2021, 3 a.m.