[R] pattern of panel waves using R

From: Sebastián Daza <sebastian.daza_at_gmail.com>
Date: Thu, 17 Mar 2011 22:40:53 -0500

Hi everyone,

Is there any command to identify the pattern of responses of a database with this format:

year id

2008	1
2009	1
2008	2
2009	2
2008	3
2009	3
2008	4
2009	4
2010	4


I just need the frequency of the patterns grouped by id:

2008 2009 2010 = 80

         2009 2010 = 30
2008 2009         = 10

and so on....

Thank you in advance!

-- 
Sebastián Daza
sebastian.daza_at_gmail.com

______________________________________________
R-help_at_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.
Received on Fri 18 Mar 2011 - 03:48:56 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Mar 2011 - 14:10:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive