The R data is loaded from the csv file. The Date column must be converted to a "дд/мм/гггг". date "дд/мм/гггг".
When downloading from the csv file, the date entry in the date column looks like this 02.01.2016.
Attempt to convert by the following expression:
date_SaleData <- as.Date(SaleData$Date, "%dd/%mm/%yyyy") It leads to the fact that when viewing date_SaleData there are only "NA" .