circularDispersionGV: Compute circular variance of aspect (i.e. of the gradient...

View source: R/GeostTextureLibrarySharedRoxy.R

circularDispersionGVR Documentation

Compute circular variance of aspect (i.e. of the gradient vector)

Description

Compute circular variance of aspect (i.e. of the gradient vector)

Usage

circularDispersionGV(inraster, window)

Arguments

inraster

The DEM from which compute the index

window

The moving window adopted for computing the index

Value

The raster with the computed index

Examples

# Gradient vector dispersion using a circular search window of radius 3.
library(terra)
dem=rast(paste(system.file("extdata", package = "SurfRough"), "/trento1.tif",sep=""))
w=KernelCircular(3)
roughGrad=circularDispersionGV(dem,w)
plot(roughGrad)

SurfRough documentation built on April 4, 2025, 2:19 a.m.