create.north {gecko}R Documentation

Create northness layer.

Description

Create a layer depicting northness based on an elevation layer.

Usage

create.north(layers)

Arguments

layers

SpatRaster. A layer of elevation (a digital elevation model - DEM). As defined in package terra, see terra::rast().

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

SpatRaster.

Examples

region = gecko.data("layers")
terra::plot(create.north(region[[3]]))

[Package gecko version 1.0.0 Index]