search for: datesc

Displaying 1 result from an estimated 1 matches for "datesc".

Did you mean: dates
2016 Jan 27
0
Suggestions for improvement as regards `as` methods, and a call for consistency in `as.Date` methods
...t be to retain names (if not other attributes). 2) All as.Date methods should behave consistently as regards attribute retention As explicated in the referenced SO topic, the following should all give the same result (as they would for similar examples involving other as methods), but don't: datesc <- c(ind = "2015-07-04", nyd = "2016-01-01") datesn <- c(ind = 16620, nyd = 16801) datesp <- structure(c(1435982400, 1451624400), .Names = c("ind", "nyd"), class = c("POSIXct", "POSIXt"), tzone = "")...