date456posix: Convert numeric dates in mddyy to POSIXct

Description Usage Arguments Examples

View source: R/misc.R

Description

Convert numeric dates in mddyy to POSIXct

Usage

1
date456posix(x, century)

Arguments

x

numeric where the first 1-2 digits specify the month attribute because leading zeros have been stripped

century

numeric century recommended choice of "19" or "20"

Examples

1
2
dates <- c("51514", "101214", "8714", "1214", "81412")
date456posix(dates, century = "20")

jsta/peatcollapse documentation built on Dec. 9, 2017, 12:23 a.m.