is.period
From lubridate v0.1
by Hadley Wickham
Is x a period object?
Is x a period object?
Usage
is.period(x)
Arguments
- x
- an R object
Value
- TRUE if x is a period object, FALSE otherwise.
See Also
Examples
is.period(as.Date("2009-08-03")) # FALSE
is.period(new_period(months= 1, days = 15)) # TRUE}
Community examples
Looks like there are no examples yet.