7.12 Computations

  • logarithmic transformation: log(r)
  • mask:
r2 <- r
r2[r < 50] <- NA
  • unmask:
r2[is.na(r2)] <- 0