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 |
Value
A rasterStack in logarithmic scale
Examples
logRasterStack(raster::stack(dem))
[Package eRTG3D version 0.7.0 Index]