callPeaks.PeaksAndValleys | R Documentation |
Calls the peaks in peaks-and-valley estimates to a set of known state.
## S3 method for class 'PeaksAndValleys'
callPeaks(fit, expected=c(-1/2, -1/4, 0, +1/4, +1/2) * pi, flavor=c("decreasing", "all"),
verbose=FALSE, ...)
fit |
A KxC |
expected |
The expected locations of the peaks to be called. |
flavor |
A |
verbose |
A |
... |
Not used. |
Returns a Kx(C+2) data.frame
.
If flavor == "all"
, each peak is called to the state with the
closest expected value.
If flavor == "decreasing"
, the strongest peak is called to the
state with the closest expected value, then the second strongest peak
is called analogously to one of the remaining states, and so on.
Henrik Bengtsson, Pierre Neuvial
To get peaks-and-valley estimates, use
findPeaksAndValleys
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.