tq_gr: Calculate growth rates.

Description Usage Arguments Value Examples

Description

Calculate growth rates.

Usage

1
tq_gr(df_ts, ...)

Arguments

df_ts

A tbl_ts object.

...

Parameters for fun_num.

Value

A tbl_ts object.

Examples

1
2
3
4
5
## Not run: 
tq_gr(df)
tq_gr(df, n = 1, annualize = 4)

## End(Not run)

mitsuoxv/tqr documentation built on June 9, 2020, 11:12 a.m.