search for: y1980

Displaying 1 result from an estimated 1 matches for "y1980".

Did you mean: 1980
2011 Jun 13
1
Count objects and print it into a new variable
...st plot with the command aggregate. annualAB.sum<-aggregate(yukon$Area_Hecta~yukon$Fire_Year, sum, data=yukon) Now I am having troubles with the second plot. I created subsets for each year and then used the length command..then I could take all those numbers and put them in a new variable... y1980 <- subset(yukon,Fire_Year=="1980") length(y1980$Area_Hecta) but I somehow feel that there must be a better solution...maybe a loop? Any help is greatly appreciated Thanks so much Sandra -- View this message in context: http://r.789695.n4.nabble.com/Count-objects-and-print-it-into-...