Description Usage Arguments Value Note Examples
View source: R/abpm_mark_extremes.R
ABPM peaks/troughs
1 2 3 |
x |
(numeric) ambulatory monitoring values |
neighborhood_size |
(numeric) the number of points to include around the maximum or minimum value. If the maximum or minimum occurs on a boundary, then only neighbors within the boundary will be marked. |
a numeric vector the same length as x
with values of
0 or 1. A value of 1 indicates that the corresponding value of
x
is inside of the peak or trough.
If there are ties, the value that appears
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.