On Nov 13, 2009, at 6:03 AM, Jabez Wilson wrote:
Dear all, I'm trying to process a log file which logs the date, the
username and the computer number accessed. The table looks like this:
table.users
Date UserName Machine
1 2008-11-25 John 641
2 2008-11-25Clive 611
On Fri, 13 Nov 2009 11:03:31 + (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,
...@verizon.net markle...@verizon.net
Subject: Re: Re: [R] processing log file
To: jabez...@yahoo.co.uk
Date: Friday, 13 November, 2009, 16:36
Hi: I think below does what you want but it doesn't come out formatted very
nicely. Maybe someone can show you
the formatting ? Good luck.
table.users
they accessed:
The 'plyr' solution of Karl Ove Hufthammer gives me the exact summary
statistics that I'm looking for.
Jab
--- On Fri, 13/11/09, markle...@verizon.net markle...@verizon.net wrote:
From: markle...@verizon.net markle...@verizon.net
Subject: Re: Re: [R] processing log file
4 matches
Mail list logo