adstock.DeriveAppend: Finds the optimum Adstock rate and applies it, appending the...

Description Usage Arguments

Description

Derives best adstock rate, based on lowest SSE, and adds the the original data.table.

Usage

1

Arguments

data

data.frame that holds the data (independent and dependent)

y

Dependent variable e.g. Sales

x

Independent variable, of which we want to derive optimum adstock. Can be a vector of variables

lim

Numeric. Upper limit for adstock rate


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