Dear list,

I seem to have a problem with subsetting a SpatialPolygonsDataFrame. If I
remember correctly, I have subsetted the spdf before using the first
syntax. However, this does not seem to work.
Any idea why?


> pgtest <- pgcell1[pgcell1$gwno==385,]
Error in pgcell1[pgcell1$gwno == 385, ] : NAs not permitted in row index
> pgtest <- subset(pgcell1, gwno==385)
This works.

Thanks!

Andreas

	[[alternative HTML version deleted]]

