View source: R/barber_smooth.R
barber_smooth | R Documentation |
Substitute in linear extension of first neighbor using average diff of nearest 3 for first and last date
barber_smooth(vec, n_neighbors, times)
vec |
Vector of positive values |
n_neighbors |
Integer of number of nieghbors to smooth with |
times |
Integer number of times to run the smoother |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.