After checking the new feature of data.table 1.9.2, I'm not quite clear about the new feature of manipulation of NA/NaN/Inf.
The news:
NA, NaN, +Inf and -Inf are now considered distinct values, may be in keys, can be joined to and can be grouped. data.table defines: NA < NaN < -Inf
I don't know what does it mean by "can be joined to and can be grouped"
DT <- data.table(A=c(NA,NA,1:3), B=c("a",NA,letters[1:3]))
Now we have NAs in both column A and B,
But I'm lost a little how to proceed, and what the purpose of this new feature is. Could you provide an example to illustrate this?
Thanks a lot!