incadata (version 0.5.3)

as.Dates: Converting potential date to Date vector

Description

The function recognises dates in formats used by INCA and Rockan.

Usage

as.Dates(x)

Arguments

x

atomic vector

Value

recognised date vector converted to date, otherwise x unchanged

See Also

as.Date

Examples

Run this code
# NOT RUN {
as.Dates(c(1212121212, "20000101", "2014-10-15", 5806))
# }

Run the code above in your browser using DataCamp Workspace