Description Usage Arguments Value See Also Examples
Is x a length of time?
1 | is.timespan(x)
|
x |
an R object |
TRUE if x is a period, interval, duration, or difftime object, FALSE otherwise.
is.instant()
, is.duration()
, is.difftime()
, is.period()
, is.interval()
1 2 | is.timespan(as.Date("2009-08-03")) # FALSE
is.timespan(duration(second = 1)) # TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.