est_trend | R Documentation |
This function estimates trend in life expectancy over a moving window.
est_trend(input_vec, year_vec = 1960:2020, window_val = 10)
input_vec |
A numeric vector of life expectancies across different years. |
year_vec |
A numeric vector of the years observed. Default 1960:2020, |
window_val |
A numeric giving length of window. Default 10. |
A numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.