Thursday, March 17, 2022

adf.test error

tryCatch fixed this running error. 

i = 2677

Error in if (k < 0) stop("k negative") : 

  missing value where TRUE/FALSE needed

Calls: adf.test

In addition: There were 50 or more warnings (use warnings() to see the first 50)

Execution halted

get_adf_pvalue (tb_local$era5_t2m)


Loving, Texas, There are zero cases in the time window. So, adf.test is meaningless. 

No comments:

Post a Comment