powered by
Calculates a cross-tabulation of observed and predicted classes with associated statistics.
confmatrix(actuals, preds)
a numeric vector
A table same as caret::ConfusionMatrix
confmatrix
# NOT RUN { confmatrix(c(1,1,1,0), c(1,1,0,0)) # }
Run the code above in your browser using DataLab