Guest User

Untitled

a guest
Jan 24th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. m <- c(-1, 0,NA)
  2. rclmat <- matrix(m, ncol=3, byrow=TRUE) # matrix with the value to reclass
  3. new_rc <- reclassify(new, rclmat,right=FALSE) # reclassify my stack ("new")
Add Comment
Please, Sign In to add comment