Description Usage Arguments Value Examples
This function computes outliers centralized around a day, using a number of days around it
1 | IQRoutliers(date, value, level = 3, window = 11, exclude = NULL)
|
date |
vector with dates |
value |
vector with data values |
level |
number of IQRs to be added to percentile 75 and subtracted to percentile 25 to determinate the tolerance interval. Values outside this interval, will be declared as outliers. |
window |
number of days to be considered (including the target) |
exclude |
if it is not null, the code will exclude this value from the analysis (i.e., good to exclude 0 for precipitation) |
positions which do not pass this QC test
1 2 3 4 5 6 7 | #Extract the ECA&D data file from the example data folder
path2inptfl<-system.file("extdata", "TX_SOUID132734.txt", package = "INQC")
#Read the data file
date<-readecad(input=path2inptfl,missing= -9999)[,3]
value<-readecad(input=path2inptfl,missing= -9999)[,4]
#Find all suspicious positions in the time series
IQRoutliers(date,value,level=3,window=11,exclude=NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.