I need your help regarding an error in R which is the following:
Error: Input year(s) is not numeric in R
However, I check the input (year, e.g. 2004) using the command class(2004) and the answer is numeric.
Does anyone know what is the problem and how can I fix it?
Thank you in advance.