aqHourlyStat {aqr}R Documentation

applies a function across hour slots. Internally, it iterates over 0:23 and selects all rows which fit into this hour.

Description

applies a function across hour slots. Internally, it iterates over 0:23 and selects all rows which fit into this hour.

Usage

aqHourlyStat(x, f = mean)

Arguments

x

the input xts object

f

the function to apply

Value

a matrix that contains hourly data


[Package aqr version 0.4 Index]