Re: [R] calculate out of different lists in R

2012-10-15 Thread Sarah Goslee
aggregate() maybe? It isn't entirely clear to me what you want (or how the United States has 51 states, assuming amerika == US); a reproducible example including a bit of your data provided with dput() would be the most useful thing, as long as it includes a clear statement of your desired resutls

[R] calculate out of different lists in R

2012-10-15 Thread EvaR
hey There I've been trying to match 2 lists in R I have an excel sheet containing all the 51states of amerika devided by zipcode. the columns are : zip,city, state, latitude,longitude,count so now I want R to make a new table that I could use to draw a map. The table should consist the name of th