as.data.table.xts: Convert an xts object into a data.table
Description
Convert an xts object into a data.table
Usage
as.data.table.xts(x)
Arguments
x
An xts object
Value
A data.table object with new columns date, time, micros,
pt providing, respectively the data as IDate, time as
ITime, microseconds (rounded) and numeric
POSIXct.
Details
This is still experimental. Note that all four added
columns are keys to the data.table object, and that
setNumericRounding(0) is executed too,