annRet: Calculate Annualized Return

Description Usage Arguments Value Examples

View source: R/InvMetrics.R

Description

Calculate Annualized Return

Usage

1
annRet(ret, freq)

Arguments

ret

data.frame or tibble containing returns organized by column

freq

string to specify periodicity

Value

tibble with column names of ret and corresponding geometric means

Examples

1
2
data(ret)
annRet(ret, 'd')

alejandro-sotolongo/InvMgmt documentation built on Dec. 18, 2019, 3:33 a.m.