View source: R/identify_first_superchill.R
identify_first_superchill | R Documentation |
Identify when VALUE first crosses below a threshold
identify_first_superchill(dat, ..., superchill_threshold = -0.7)
dat |
Data frame with at least three columns: |
... |
Additional columns in |
superchill_threshold |
The threshold for "superchill". Default is
|
Identifies TIMESTAMP
when VALUE
first crosses below a
threshold for each group in DEPTH
and ...
.
If the VALUE
does not cross the threshold for any groups, a
data frame with 0 rows will be returned.
Returns a tibble with the TIMESTAMP
for one minute before the
first time VALUE
goes below superchill_threshold
(for each
DEPTH
and group in ...
).
This TIMESTAMP
is passed to identify_growing_seasons()
to
denote the end of the growing season.
No row will be returned for groups for which VALUE
did not cross
superchill_threshold
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.