adstock: Simple Adstock.

Description Usage Arguments

Description

Adstocks one variable, returns a numeric vector.

Usage

1
adstock(x, adstock.rate)

Arguments

adstock.rate

Rate to adstock the variable, between 0 and 1.

data

data.table that holds the variable to be transformed

variable

Character string of the variable to be transformed


Braja93/braja documentation built on May 6, 2019, 12:07 a.m.