View source: R/writeHydroValues.R
add_week_number_column_to_ts | R Documentation |
If timeId column exists, add a week number column. A week is 168 consecutive hours (= 24 * 7).
add_week_number_column_to_ts(xts)
xts |
a data.table of time series type. |
the data.table xts with a new column week.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.