I am new in R and I am facing a problem. I have a list with many SpatialPolygonsDataFrames. Some of them are like this example
This is a SpatialPolygonsDataFrame. My "problem" is that the data.frame has two rows for this SpatialPolygonsDataFrame. How can I keep the two polygons with only one row in data.frame? I think is something like merge but how can I do this in R?
I use the sp package for geometry representation.