Description Usage Arguments Details Value Examples
flowdir is used to calculate the direction of flow from every cell of a digital
elevation dataset
| 1 | flowdir(dem)
 | 
| dem | a raster object, two-dimensional array or matrix of elevations. | 
Flow direction is expressed as given by array(c(1:9), dim = c(3,3)). I.e.
1 = NW, 2 = W, 3 = SW, 4 = N, 5 = to self, 6 = S, 7 = NE, 8 = E and 9 = SE. Flow direction is determined
by which adjacent cell has the lowest elevation.
a raster object, two-dimensional array or matrix of flow directions (1-9).
| 1 2 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.