R/misc.R

Defines functions years emptyDate is.wholenumber

years <- function(x) as.POSIXlt(x)$year + 1900

emptyDate <- function() .dateParse.origin[0]

is.wholenumber <- function(x) any(floor(x) == x)

Try the TimeWarp package in your browser

Any scripts or data that you put into this service are public.

TimeWarp documentation built on May 2, 2019, 11:11 a.m.