Hi All,
 Year Area Q Bin FD
       I have a large dataset I need to re-structure. It looks something
like this: 2000 1 1 5 0  2000 1 1 10 1  2000 1 1 15 23  2000 1 1 20 12  2000
1 1 25 1  2000 2 1 5 1  2000 2 1 10 3  2000 2 1 15 15  2000 2 1 20 11  2000
2 1 25 3  2000 1 2 5 0  2000 1 2 10 1  2000 1 2 15 23  2000 1 2 20 12  2000
1 2 25 1  2000 2 2 5 1  2000 2 2 10 3  2000 2 2 15 15  2000 2 2 20 11  2000
2 2 25 3  2001    …    2011




  And I need to create different vectors (Bin, FD) summing by year and/or
by area; For example, I need a new dataset:

Bin,  FD[Year=2000,Area=1],
FD[Year=2000,Area=2], FD[Year=2000],  FD[Year=2001,Area=1], etc.

Any help really appreciated!!

NG

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to