pt.udrtn: Average up and down returns

Description Usage Arguments Examples

View source: R/pt.udrtn.R

Description

This function calculates the average up and down returns from a series of returns.

Usage

1

Arguments

r

:a vector of periodic returns

Examples

1
2
r <- runif(100,-1,1) # generate random number to simulate returns
pt.udrtn(r)

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to pt.udrtn in YRmisc...