Create a layer depicting eastness based on an elevation layer.
RasterLayer object of elevation (a digital elevation model - DEM) as defined by package raster.
Using elevation, aspect can be calculated. Yet, it is a circular variable (0 = 360) and has to be converted to northness and eastness to be useful for modelling.
A RasterLayer object.