get_adstock.Rdfunction used to compute adstock transformation
get_adstock(x, retain)numeric vector or time series of values to be adstocked
between 0 and 1, the amount of previous time points value that effects the current time point
a numeric vector that shows the adstocked values of x