On Fri, 13 Nov 2009 11:03:31 +0000 (GMT) Jabez Wilson <jabez...@yahoo.co.uk> wrote: > What I want to do is to find out how many unique users logged > on each day, and how many individual machines where accessed per day.
Use the 'plyr' package: library(plyr) ddply(table.users, .(Date), summarise, users=length(unique(Username)), machines=length(unique(Machine))) -- Karl Ove Hufthammer ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.