weight_by_age: Age Weighting function

Description Usage Arguments Value

Description

Weight P/L data according to age, using an exponentially decreasing factor.

Usage

1
weight_by_age(x, decay = 0.9)

Arguments

x

P/L data

decay

decay factor (0 < x < 1)

Value

P/L data weighted by age (numeric)


dandermotj/mmr documentation built on June 4, 2019, 9:26 p.m.