Skip to content
Prev 332945 / 398506 Next

Custom Numeric type in R

On 13-11-10 4:52 PM, Rui Barradas wrote:
This doesn't actually prove anything, since there are multiple different 
objects that display as NA.  For example:

 > 1+NA
[1] NA
 > class(1+NA)
[1] "numeric"

See ?"NA" for other ways to represent the other NA values.
I don't think it is impossible, but I think it would be hard to get it 
working well.

Duncan Murdoch