is.Date | R Documentation |
Date()
mirrors primitive contructors in base R (double()
, character()
etc.)
is.Date(x)
Date(length = 0L)
NA_Date_
x |
an R object |
length |
A non-negative number specifying the desired length. Supplying an argument of length other than one is an error. |
An object of class Date
of length 1.
is.instant()
, is.timespan()
, is.POSIXt()
, POSIXct()
is.Date(as.Date("2009-08-03")) # TRUE
is.Date(difftime(now() + 5, now())) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.