confuMat: Calculate a confusion matrix

Description Usage Arguments Details Value

View source: R/confuMat.R

Description

Calculate a confusion matrix

Usage

1
confuMat(reality, predictions, as.text = FALSE)

Arguments

reality

vector with actual assignments of groups to items

predictions

vector with predicted assignments of groups to items

as.text

if TRUE, return a single character value; if FALSE, return a matrix

Details

Calculate a confusion matrix

Value

confuMat invisibly returns the confusion matrix


january3/myfuncs documentation built on April 1, 2020, 4:42 a.m.