circularDispersionNV {SurfRough} | R Documentation |
Compute circular variance of normal vectors to surface
Description
Compute circular variance of normal vectors to surface, using the resultant vector length
Usage
circularDispersionNV(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
#
#Normal 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)
roughVDR=circularDispersionNV(dem,w)
plot(roughVDR)
[Package SurfRough version 0.0.1.1 Index]