| is.difftime | R Documentation |
Is x a difftime object?
is.difftime(x)
x |
an R object |
TRUE if x is a difftime object, FALSE otherwise.
is.instant(), is.timespan(), is.interval(),
is.period().
is.difftime(as.Date("2009-08-03")) # FALSE
is.difftime(make_difftime(days = 12.4)) # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.