powered by
Used to verify that the object is one of the known time-based classes in R. Current time-based objects supported are Date, POSIXct, chron, yearmon, yearqtr, and timeDate.
Date
POSIXct
chron
yearmon
yearqtr
timeDate
is.timeBased(x)timeBased(x)
timeBased(x)
A logical scalar.
Object to test.
Jeffrey A. Ryan
timeBased(Sys.time()) timeBased(Sys.Date()) timeBased(200701)
Run the code above in your browser using DataLab