Description Usage Arguments Value Examples
Removes spikes, and sets their value to NA_real_
.
1 |
df |
data frame with date and numeric variable in the first and second column respectively (from |
tolerance |
numeric with maximum tolerance between a number and its successor. |
The same data frame but without peaks.
1 2 3 4 5 6 7 8 | # Relative path to raw data
full_path <- system.file('extdata', package = "hydroToolkit")
# Read IANIGLA file
cuevas <- read_IANIGLA(file = 'Cuevas.csv', path = full_path)
# Remove spikes from air temperature series
tair_rm_spikes <- rm_spikes(df = cuevas, tolerance = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.