raster.north {red}R Documentation

Create northness layer.

Description

Create a layer depicting northness based on an elevation layer.

Usage

raster.north(dem)

Arguments

dem

RasterLayer object of elevation (a digital elevation model - DEM) as defined by package raster.

Details

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.

Value

A RasterLayer object.

Examples

layers = red.examples("red.layers")
terra::plot(raster.north(layers[[3]]))

[Package red version 1.6.1 Index]