View source: R/mars_data_fetch_write_functions.R
marsGapFillEventID | R Documentation |
Each rainfall event must be zero-punctuated. These zeroes are given event IDs based on the IDs of the
rainfall that precede and follow them, given by marsDetectEvents
.
marsGapFillEventID(event_low, event_high)
event_low |
num, event ID of preceding rainfall. |
event_high |
num, event ID of following rainfall. |
Output will be a vector containing either NA
or event low
. If one or both events are
NA
, return NA. If the event IDs are not equal, return NA
, since this is a boundary between
events. If the event IDs are equal, return event low
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.