I'm new to R programming and currently working on a data frame, which is imported from a .csv file that has a "Date" column. This columns consists of two different date format (dd/mm/yyyy & mm/dd/yyyy) such as this: Image One
Then I went ahead and attempted to convert them all, which as of right now is a character type, to date data type with the following code:
test$Date <- as.Date(test$Date, format = "%d/%m/%Y")
The above code certainly works, and now the "Date" column is now converted to date type but some of the dates appear to be missing due to some kind of problem after running the code: Image Two
I have no idea what's the issue here and would like to ask if anyone knows how to fix it. I would appreciate all the help. Thank you!