I need some hints to do the pearson correlation (COR) test between years.
I want to get the analog years using a climate index, so I want to do COR of the last six months (sep 2019 to march 2020) with all the same period of the previous years from 1950 to 2019 and choose the years with higher correlation. Which could be the better way to do this?
The data is this: https://tropical.colostate.edu/colorado-state-university-amo/
I have a big Excel Sheet that does the calculation but Im looking for a new a fastest way using R.
Thanks a lot