Re: [R] Extract a slot value from a 'SpatialPolygons' class object

2011-02-11 Thread David Winsemius
On Feb 11, 2011, at 5:11 AM, Xavier Hoenner wrote: Dear R-users, I’m currently trying to extract the value of a slot (area) but can’t find out how to do that. Generally the authors of S4 method provide extractor functions, so the first question would be what functions were used to create

[R] Extract a slot value from a 'SpatialPolygons' class object

2011-02-11 Thread Xavier Hoenner
Dear R-users, I’m currently trying to extract the value of a slot (area) but can’t find out how to do that. >str(overlperc) List of 1 $ :Formal class 'SpatialPolygons' [package "sp"] with 4 slots .. ..@ polygons :List of 1 .. .. ..$ :Formal class 'Polygons' [package "sp"] with 5 slots