View source: R/hsLibDateTime.R
dataFrameToXts | R Documentation |
Convert Time Series Data Frame to xts Object
dataFrameToXts( dataFrame, timeColumn = names(dataFrame)[kwb.utils::posixColumnAtPosition(dataFrame)[1]] )
dataFrame |
data frame containing a timestamp column |
timeColumn |
name or number of time column. Default: first POSIXt-column in dataFrame |
xts object with timestamps taken from timestamp column. Non-numeric columns are removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.