> as.table(dat1)
> #Error in as.table.default(dat1) : cannot coerce to a table
You _can_ coerce to a matrix first:
as.table( as.matrix(dat1) )
S Ellison
*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}