powered by
Avoids the problem of -Inf occuring for log(0).
logRasterStack(rStack, standartize = FALSE, InfVal = NA)
rasterStack to convert to logarithmic scale
logical: standartize cube between 0 and 1
the value that Inf and -Inf should be rpeplaced with
Inf
-Inf
A rasterStack in logarithmic scale
# NOT RUN { logRasterStack(raster::stack(dem)) # }
Run the code above in your browser using DataLab