RetToMonthly: Function Wrapper for xts::apply.monthly

Description Usage Arguments Value

Description

the reason for this function is that xts:apply.monthly only take one column (or the first column if called with a df), and xts::to.monthly has outputs with multiple columns (OHLC)

Usage

1
RetToMonthly(daily.returns)

Arguments

daily.returns

xts object with individual returns

Value

xts object with monthly log return


hughshuwang/isocyanate documentation built on May 30, 2019, 7:17 a.m.