Convert Time Series Data Frame to xts Object

dataFrameToXts(dataFrame,
  timeColumn = names(dataFrame)[posixColumnAtPosition(dataFrame)[1]])

Arguments

dataFrame

data frame containing a timestamp column

timeColumn

name or number of time column. Default: first POSIXt-column in dataFrame

Value

xts object with timestamps taken from timestamp column. Non-numeric columns are removed.