Closed muxspace closed 10 years ago
The reason Is that an integer does not inherit from numeric in S3.
> class(as.integer(4)) [1] "integer" > is.integer(as.integer(4)) [1] TRUE > is.numeric(as.integer(4)) [1] TRUE
Instead what is needed is to convert a numeric reference to is.numeric(), the same way that Function maps to is.function().
numeric
is.numeric()
Function
is.function()
Fixed in 1.1.4
The reason Is that an integer does not inherit from numeric in S3.
Instead what is needed is to convert a
numeric
reference tois.numeric()
, the same way thatFunction
maps tois.function()
.