lagger | R Documentation |
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.
lagger(x, lag = 1)
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. |
lagger(mtcars) logger()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.