Hi All,

Here is something that sounds simple, but I'm having trouble getting it.  I
have a data frame with two columns, the first is date and the second is
employee ID.  I'd like to plot date on the horizontal axis, employee ID on
the vertical axis, and the number of times the employee appears for the
given date as a color.  I've kluged something where I make a table
(table(date, id)) and add points to a plot by looping through the rownames
(employee ids) of the table.  But certainly there is a better way of doing
this??

Thanks and regards,
Laurence Adair

        [[alternative HTML version deleted]]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to