get_decay: get_decay

Description Usage Arguments Details

View source: R/get_decay.R

Description

Creates vector with decay factor.

Usage

1
get_decay(n, halflife = 1, method = "semi-geometric")

Arguments

n

size.

halflife

halflife as a percentage of n.

method

it can be geometric or semi-gemetric.

Details

See reference at http://stats.stackexchange.com/questions/20542/generating-a-3-month-half-life-weighting-series-in-r it is desirable to find how both methods change with halflife of 0 and 1


mauriciogtec/metodosMultivariados2017 documentation built on May 21, 2019, 1:37 p.m.