Description Usage Arguments Author(s) References Examples
This function returns an S3 class, 'local.extrema', which contains local maxima and minima, the interval used to derive those extrema, and a data frame with xy coordinates that may be used for plotting.
1 |
x |
A numeric vector or integer vector for use in determining local extrema. |
interval |
An integer value to specify the degree to which changes in local extrema should be calculated and identified. |
min_per_change |
A numeric value denoting the minimum change to recognize a reversal. Default value is NA. NA treated as there is no minimum for reversal. |
mjfii
base
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.