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

Description Usage Arguments

View source: R/adstockDeriveAppend.R

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 June 1, 2017, 5:19 p.m.