sta_lta_calc: STA to LTA calculation

View source: R/RcppExports.R

sta_lta_calcR Documentation

STA to LTA calculation

Description

Calculate the ratio of Short Term Average (STA) to Long Term Average (LTA)

Usage

sta_lta_calc(ts, short_term, long_term, moving_term)

Arguments

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)

Value

A vector, the STA/LTA ratios


wltcwpf/hvsrProc documentation built on March 25, 2024, 7 p.m.