Description Usage Arguments Value
View source: R/reconstruct_daily_rainfall_event.R
Extracts the rainfall events that happened before a landslide, based on a predefined length ,
n
, that can be dry days and still be part of a rainfall event. Input usually is the result of the
function ex_rainfall
for one slide with a unique 'PIFF_ID'.
1 | reconstruct_daily_rainfall_events(d, n = 1, daily_thresh = 0.2, quiet = TRUE)
|
d |
A dataframe with the extracted rainfall for one point or polygon. This dataframe needs to have a column
called |
n |
The interval (in days) a dry period can still be part of a rainfall event |
daily_thresh |
the minimum daily rainfall to be considered a day of rain |
quiet |
Show print messages or not |
The same dataframe as inputted, just with the column event
appended that shows the number of
rainfall event before the slide happened
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.