Have you looked into functions such as na.omit()? Matt
On Sun, May 30, 2010 at 7:54 PM, Peter Larson <pslars...@gmail.com> wrote: > Hello all, > > I have data for several states and no data for most. I just want to subset > the states I have data for and ignore the rest. > > Is there anyway to do this? I have a shapefile and have read it in with > ReadShapePoly successfully, but I don't need all 50 American states. > > Thanks, > > Pete > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo