search for: tp4627108p4627441

Displaying 1 result from an estimated 1 matches for "tp4627108p4627441".

2012 May 11
1
summary for weekdays()
Hi all, probably really simple: I seem to be lacking some understanding for the character class: I have a bunch of dates in a dataframe and I want to add a string variable with the weekday for each date. If I use something like mydata$day <- weekdays (mydata$date), I can create subsets for each weekday (eg mydata=="Monday"), but summary (mydata$day) doesn't count the instances for