Description Usage Arguments Value Author(s) Examples
Finds the local maxima, local noise and its associated standard deviations in a vector.
1 2 3 |
x |
a vector. |
span |
a local miximum is defined as an element in a sequence which is greater than all other elements within a window of width ‘span’ centered at that element. The default value is 3, meaning that a peak is bigger than both of its neighbors. Local noise is definedas an element minus the mean of all elements within a window of width ‘span’ centered at that element. Local standard deviation of an element is defined as the standard deviation of all elements within a window of width ‘span’ centered at that element. |
a logical vector of the same length as ‘series’ indicating where the peaks are.
Xiaochun Li
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.