log_lags | R Documentation |
Generate lags or knots with logarithmic spacing. Lags/knots start at 0. Lags are in terms of samples. For example, if samples are taken every 60, a lag of 1 corresponds to 60 seconds, a lag of 4 would correspond to 240 seconds.
log_lags(n, max_time_lag)
n |
The total number of lags (integer) |
max_time_lag |
The maximum lag in number of samples (integer) |
An integer vector of lags
log_lags(12, 86400)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.