Description Usage Arguments Value Examples
This function is intended to flag impossible dates (e.g., 19990230 or 29990112, etc)
1 | weirddate(x)
|
x |
two-columns dataframe. First column is date in the ECA&D format (yyyymmdd), second columns is value |
list of positions which do not pass this QC test. If all positions pass the test, returns NULL
1 2 3 4 5 6 7 8 9 10 11 | #Extract the ECA&D data file from the example data folder
path2inptfl<-system.file("extdata", "TX_SOUID132734.txt", package = "INQC")
#Read the data file
x<-readecad(input=path2inptfl,missing= -9999)[,3:4]
#Find all suspicious positions in the time series
weirddate(x)
#Introduce the weird dates
x[31,1]<-'19610132'
#Find all suspicious positions in the time series
weirddate(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.