search for: numeridc

Displaying 2 results from an estimated 2 matches for "numeridc".

Did you mean: numeric
2019 Mar 26
0
Discrepancy between is.list() and is(x, "list")
...e objects and thinking about times and dates is looking to do a modulo operation in number of Days since Jan 1st 1970, which is what that operation would do. Better to have that fail and if that really, for sure is what the user actually wants to do, they can uncalss it or otherwise convert it to a numeridc first. > Modulo operators should be defined for both dates and numerics. > However, the application of modulo operators to dates, is perhaps unclear, > at least in the general case, anyway. > > > so instead of hitting utils:::head.function, it hits > utils:::head.default &gt...
2019 Mar 26
4
Discrepancy between is.list() and is(x, "list")
If I can merge this thread with the one I started yesterday... > "If the object does not have a class attribute, it has an implicit class..." > which I take to mean that if an object does have a class attribute it does not also have an implicit class. > I think this is reasonable behavior. Consider the "Date" class, which stores values as "numeric": >