calc_ret: Calculates a return vector

View source: R/data_manipulation_fcts.R

calc_retR Documentation

Calculates a return vector

Description

Calculates a return vector

Usage

calc_ret(P, tickers = rep("ticker", length(P)))

Arguments

P

Vector of prices

tickers

Vector of tickers

Value

A vector of returns

Examples

print(afedR_calc_ret(1:10))

msperlin/afedR documentation built on Sept. 11, 2022, 9:49 a.m.