| not_available {mark} | R Documentation | 
Make not available
Description
Create NA vectors
Usage
not_available(type = "logical", length = 0L)
set_not_available(type, value)
NA_Date_
NA_POSIXct_
NA_POSIXlt_
Arguments
type | 
 Type of NA (see details)  | 
length | 
 Length of the vector  | 
value | 
 A value to return in   | 
Format
An object of class Date of length 1.
An object of class POSIXct (inherits from POSIXt) of length 1.
An object of class POSIXlt (inherits from POSIXt) of length 1.
Details
If length is a text it will search for an appropriate match.
Value
A vector of NA values
Examples
x <- not_available("Date", 3)
x
class(x)
[Package mark version 0.8.0 Index]