Good morning everyone,
I am a rstudio beginner.
I want to do a time series analysis and forecast sales in the future.
I have created an excel csv file with the months of the year in one column and the relative monthly sales in quantity of the product in another column. From 2015 to 2021.
The file I import it correctly on rstudio cloud but I think I have set the dates wrong because when I use the plot command it gives me the following error:
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion
2: In min(x) : no non-missing arguments to min; returning Inf
3: In max(x) : no non-missing arguments to max; returning -Inf
the format of the dates is as follows: 01/01/2015
Can someone help me?
I think the error how i write the date because if i do summary() rstudio says that is charachter and not data