Skip to content
Prev 359831 / 398503 Next

as.Date gives NAs when transforming from factor

On 05/04/2016 7:53 PM, Omar Andr? Gonz?les D?az wrote:
You are specifying month/day/year format. There's no month 31.
You probably want

a$Date <- as.Date(a$Date, format = "%d/%m/%Y")


Duncan Murdoch