Learn R Programming

a4Core (version 1.20.0)

confusionMatrix: Generic function to produce a confusion matrix (related to a classification problem)

Description

Generic function to produce a confusion matrix (related to a classification problem)

Usage

confusionMatrix(x, ...)

Arguments

x
object (usually a model fit object) that contains all information needed to produce the confusion matrix.
...
further arguments for a specific method