Jorge,

You can also try converting your pixel data frame into a raster object
(raster package).  There you can loop through your pixels or address only
adjacent pixels (adjacency function), which I think is interesting for your
application.

Regards,

Miguel

2011/12/22 jjcabrera20 <jjcabrera20@yahoo.com.mx>

> Thanks Jan
> I will take a look on the links.
> But any way there is a method to loop inside a SpatialPixelDataFrame?
>
>
> Best,
>
> Jorge
>
> --
> View this message in context:
> http://r-sig-geo.2731867.n2.nabble.com/Looping-through-pixels-in-a-SpatialGridDataFrame-tp7113726p7118612.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

