Check if Class is Time-Based
Used to verify that the object is one of the known time-based classes in R.
is.timeBased(x) timeBased(x)
x |
object to test |
Current time-based objects supported are
Date
, POSIXct
, chron
,
yearmon
, yearqtr
, and timeDate
.
Logical
Jeffrey A. Ryan
timeBased(Sys.time()) timeBased(Sys.Date()) timeBased(200701)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.