R/confusionMatrix.R

Defines functions confusionMatrix

Documented in confusionMatrix

#' Generic function to produce a confusion matrix (related to a classification problem)
#' @param x object (usually a model fit object) that contains all information 
#' needed to produce the confusion matrix. 
#' @param ... further arguments for a specific method
#' @return A confusion matrix
#' @author Tobias Verbeke
#' @keywords models
#' @export
confusionMatrix <- function(x, ...){ # common to a4Classif (pamClass) and nlcv
  UseMethod("confusionMatrix")
}

Try the a4Core package in your browser

Any scripts or data that you put into this service are public.

a4Core documentation built on Nov. 8, 2020, 5:39 p.m.