Description Usage Arguments Value Examples
View source: R/repeatedvalue.R
This function looks for a value which repeats too many times and, given the decaying shape of empirical distribution of precipitation data, is considered too large to happen that many times
1 | repeatedvalue(x, margin = 20, friki = 150)
|
x |
precipitation time series |
margin |
threshold for differences in frequency of the nearest value |
friki |
minimum of precipitation values to be considered |
list of positions which do not pass this QC test. If all positions pass the test, returns NULL
1 2 3 4 5 6 | #Extract the ECA&D data file from the example data folder
path2inptfl<-system.file("extdata", "RR_SOUID132730.txt", package = "INQC")
#Read the data file
x<-readecad(input=path2inptfl,missing= -9999)[,4]
#Find all suspicious positions in the time series
repeatedvalue(x,margin=10,friki=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.