powered by
Create NA vectors
not_available(type = "logical", length = 0L)set_not_available(type, value)NA_Date_NA_POSIXct_NA_POSIXlt_
set_not_available(type, value)
NA_Date_
NA_POSIXct_
NA_POSIXlt_
A vector of NA values
NA
An object of class Date of length 1.
Date
An object of class POSIXct (inherits from POSIXt) of length 1.
POSIXct
POSIXt
An object of class POSIXlt (inherits from POSIXt) of length 1.
POSIXlt
Type of NA (see details)
Length of the vector
A value to return in not_available()
not_available()
If length is a text it will search for an appropriate match.
x <- not_available("Date", 3) x class(x)
Run the code above in your browser using DataLab