[R] classification tables
sell_mirage_ne at hotmail.com
Mon Aug 7 04:24:32 CEST 2006
I have two vectors. One vector includes true values and the other vector has
estimated values. Values are all integers from 1 to 4.
x <- c(1,2,3,4,2,3,3,1,2,3)
y <- c(2,1,3,4,1,3,3,2,2,3)
I would like to a classfication table x by y. With the table, I would like
to calculate what percentage is correct classfication.
Which R function do I need to use for creating a 4 * 4 classification table?
More information about the R-help