If "d" is a SPolyDF

## first row/object
d[1,]
str(d[1,])

## the first Polygons object itself  (Polygons can be of many)
[EMAIL PROTECTED]
str([EMAIL PROTECTED])

## the first Polygon in the first Polygons object
[EMAIL PROTECTED]@Polygons[[1]]
str([EMAIL PROTECTED]@Polygons[[1]])



Agustin Lobo wrote:
> Hi!
>
> If I do str(a) where a is a SpatialGridDataFrame, I get
> a description of the structure that is readable,
> but for SpatialPolygonsDataFrame the output of str() is
> too long. Is there any way of looking at the
> structure of a SpatialPolygonsDataFrame object just down to
> a certain level? For example, not getting the structure of the
> each polygon but getting the first one only.
>
> Thanks
> Agus
>

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to