powered by
confusion(true, predicted)
true <- c('a','a','b','b','c','c') predicted <- c('a','c','b','b','a','c') confusion(true, predicted)
Run the code above in your browser using DataLab