title: Mann Kendall in R
body: <p>I have a temperature data set for winter months over the time period from 1980 to 2019, for which I want to run the Mann Kendall test. The excel file has one column for dates and other for temperature. I am using R's Kendall package. However, I am getting this error:</p>
  
  <p>Error in Kendall(1:length(x), x) : length(x)&lt;3 </p>