staircase | R Documentation |
A very simple method is used here, i.e., averaging all the levels in the last block.
staircase(data, .by = NULL, .input = NULL, .extra = NULL)
data |
Raw data of class |
.by |
The column name(s) in |
.input , .extra |
Each is a |
This is under the assumption that the last block is stable enough so that an average of the levels is just the convergence of the threshold.
An object with the same class as data
contains following values:
thresh_peak_valley |
The mean threshold of peaks and valleys. |
thresh_last_block |
The mean threshold of the last block. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.