I'm not a 100% sure, but it might be that you are using c(sub.cb.poly,
i) which creates a list when the arguments are complicated structures.
You may wish to use rbind on two (or more!) SpatialPolygonsDataFrame
objects instead. Provided you have the latest sp from CRAN...
Hth,
--
Edzer
Andrew
Hi. I had such great success last time, I thought I would ask for more
assistance. I have an object (cb.poly) of class "SpatialPolygonsDataFrame".
I would like to subset this object using a for loop that essentially loops
through polygon ID from a larger list. The code looks like this:
class(cb