logRasterStack {eRTG3D}R 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))

[Package eRTG3D version 0.7.0 Index]