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:[email protected]
Website: http://wfrc.usgs.gov
---------------------------------------------------------
[[alternative HTML version deleted]]
_______________________________________________
R-sig-ecology mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-ecology