is.instant | R Documentation |
An instant is a specific moment in time. Most common date-time objects (e.g, POSIXct, POSIXlt, and Date objects) are instants.
is.instant(x)
is.timepoint(x)
x |
an R object |
TRUE if x is a POSIXct, POSIXlt, or Date object, FALSE otherwise.
is.timespan()
, is.POSIXt()
, is.Date()
is.instant(as.Date("2009-08-03")) # TRUE
is.timepoint(5) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.