This is my second day using R can anyone kindly tell me how to make a new column showing day of the week from an existing column which contains the dates.
my dates are in the format %d/%m/%y
I have used the following but it only shows for one day, I want it to show the whole column of dates
discount$day_of_week <-wday(as.Date('16-08-2012','%d-%m-%Y'), label=TRUE)
Can someone please kindly assist me?