Description Usage Arguments Value Author(s) Examples
Checks whether a local minimum or maximum mets the criteria for
an important local extrema based on the compression parameter R
.
1 | CheckRatio(ai, R, aMin = NULL, aMax = NULL)
|
ai |
Numeric, value at the current location in the time series. |
R |
Numeric, the compression parameter (greater than 1). |
aMin |
Numeric, value of the most recent local minimum in the time series. |
aMax |
Numeric, value of the most recent local maximum in the time series. |
Logical indicating whether the criteria (ratio > R
) has been met.
Addison Klinke, agk38@case.edu
1 2 | CheckRatio(ai = 6.1, R = 1.2, aMin = 5) # returns TRUE
CheckRatio(ai = -1.3, R = 1.1, aMax = -1) # returns TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.