applies a function across hour slots. Internally, it iterates over 0:23 and selects all rows which fit into this hour.
the input xts object
the function to apply
a matrix that contains hourly data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.