HI Buga,

See the gdistance package.  I use transition{gdistance} to create
transition matrices from my rasters (flow or DEMs).

Jason
--------------------------------------------------------
Jason G. Romine, Ph.D.
USGS Western Fisheries Research Center
Columbia River Research Laboratory
5501A Cook-Underwood Road
Cook, WA 98605
Phone: (509) 538-2299 x213
Mobile: (804) 815-3372
Email:jromine@usgs.gov
Website: http://wfrc.usgs.gov
---------------------------------------------------------

	[[alternative HTML version deleted]]

