I am trying to import my excel data sheet and the date column is imported as a character column with some integer date values mixed in.
Now the class of date column is character.
I am trying to adjust the date column using
Agri$Date <- as.Date(Agri$Date, format="%d/%m/%Y")
The result is the cells with numbers have NAs and the cells with the dates was adjusted right