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 each day but returns something like

  Length     Class      Mode
      340 character character

How can I get a proper summary (=count)?

Thanks,

Kai

	[[alternative HTML version deleted]]

