Learn R Programming

red (version 1.6.1)

raster.north: Create northness layer.

Description

Create a layer depicting northness based on an elevation layer.

Usage

raster.north(dem)

Value

A RasterLayer object.

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.

Examples

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

Run the code above in your browser using DataLab