discount: discount factor described in Wang et al., 2011

Description Usage Arguments

View source: R/utils.R

Description

Applies an exponential smooth function with parameter p

Usage

1
discount(x, d)

Arguments

x

timeseries to exponentially smooth

d

parameter of smooth. Must be strictly between 0 and 1. See Wang et al., 2011


markwh/rcmodel documentation built on May 21, 2019, 12:26 p.m.