
Last chance! 50% off unlimited learning
Sale ends in
"abs", "sign", "sqrt", "ceiling", "floor", "trunc", "log", "log10", "log2", "log1p", "acos", "acosh", "asin",
"asinh", "atan", "atanh", "exp", "expm1", "cos", "cosh", "sin", "sinh", "tan", "tanh"
.calc
instead of the Math-methods.Arith-methods
, overlay
, calc
r1 <- raster()
r1 <- (setValues(r1, runif(ncell(r1))) - 0.5 ) * 10
r2 <- abs(r1)
r3 <- sqrt(r1)
Run the code above in your browser using DataLab