logRasterStack: Converts a rasterStack to logarithmic scale

View source: R/pointCloudAnalysis3D.R

logRasterStackR Documentation

Converts a rasterStack to logarithmic scale

Description

Avoids the problem of -Inf occuring for log(0).

Usage

logRasterStack(rStack, standartize = FALSE, InfVal = NA)

Arguments

rStack

rasterStack to convert to logarithmic scale

standartize

logical: standartize cube between 0 and 1

InfVal

the value that Inf and -Inf should be rpeplaced with

Value

A rasterStack in logarithmic scale

Examples

logRasterStack(raster::stack(dem))

munterfinger/eRTG3D documentation built on March 25, 2022, 1:22 a.m.