logger: Functions to generate lagged and logged variables

View source: R/logger.R

loggerR Documentation

Functions to generate lagged and logged variables

Description

These functions transforms input data to natural logarithm form needed for a diminishing returns media analysis (logger) or lagged variables. It is recommended to generated logged forms first and then apply the lagger() function over the netire dataset.

Usage

logger(x)

Arguments

x

whatever data you put into it. works with standard DFs from HexView. very general, may throw NAs. typically these do not pose a problem for further modelling. Function will be updated in the near future.

Examples

logger(mtcars)
logger()

benetheking/maRketingscience documentation built on May 17, 2022, 5:57 a.m.