powered by
An error matrix reports the true/false potisitve/negative rates.
errorMatrix(actual, predicted, percentage=TRUE, digits=ifelse(percentage,1,3), count=FALSE)
a vector of true values.
a vector of predicted values.
return percentages.
the number of digits to round results.
return counts.
Graham.Williams@togaware.com
Package home page: https://togaware.com/projects/rattle/
if (FALSE) errorMatrix(model)
Run the code above in your browser using DataLab