timeBased

0th

Percentile

Check if Class is Time-Based

Used to verify that the object is one of the known time-based classes in R.

Keywords
utilities
Usage
is.timeBased(x)
timeBased(x)
Arguments
x

object to test

Details

Current time-based objects supported are Date, POSIXct, chron, yearmon, yearqtr, and timeDate.

Value

Logical

Aliases
  • timeBased
  • is.timeBased
Examples
library(xts) # NOT RUN { timeBased(Sys.time()) timeBased(Sys.Date()) timeBased(200701) # }
Documentation reproduced from package xts, version 0.9-7, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.