sta_lta_calc | R Documentation |
Calculate the ratio of Short Term Average (STA) to Long Term Average (LTA)
sta_lta_calc(ts, short_term, long_term, moving_term)
ts |
An array of time series |
short_term |
An integer, short term length for STA (number of points) |
long_term |
An integer, long term length for LTA (number of points) |
moving_term |
An integer, moving step of the preceding point (number of points) |
A vector, the STA/LTA ratios
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.