Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. soco <- readShapePoly("tl_2014_us_county.shp")
  2. summary(soco)
  3. soco.df <- data.frame(soco)
  4.  
  5. # Change row name from default to FIPS. I am trying to delete states based on FIPS.
  6. row.names(soco)<-as.character(soco$GEOID)
  7. row.names(soco)
  8.  
  9. # NAME has a unique 2 number state identifier.
  10. # I am trying to delete the states I do not need based on this number.
  11. ne<-soco[soco$NAME-(31,26 etc), ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement