Here's the problem. How does one test if all the values for each group have the same chaarcter values in a column.
For example
DTT<-data.table(id=rep(seq(1:1000), each = 1000), CHAR=rep("A",10000), key="id")
This would be true because all values for the column CHAR are the same for all ids