log_lags.RdGenerate logarithmically spacing for lags. Note: the number of lags will not exactly equal n unless max_time_lag is large or n is very small
log_lags(n, max_time_lag)
| n | number of lags (integer) | 
|---|---|
| max_time_lag | maximum lag (integer) | 
integer vector of lags
log_lags(12, 86401)#> [1] 0 2 7 21 61 174 492 1384 3891 10938 30742 86400