Date()
mirrors primitive contructors in base R (double()
, character()
etc.)
is.Date(x)
Date(length = 0L)
NA_Date_
An object of class Date
of length 1.
an R object
A non-negative number specifying the desired length. Supplying an argument of length other than one is an error.