date2Numeric: Convert a date into a number
Description
Converts a vector of dates into a vector of numbers, where the first date is considered to be at time 0.
Usage
date2Numeric(DateVec, Format)
Arguments
Format
The R-coded format (as.Date
) the dates are in.
Value
DateVecA numeric vector representing the date.