New answers tagged


i was able to accomplish this task by subsetting the data from the data frame which matched my classes. Here is the updates code section: changeDet1 <- calc(stack(lc1,lc2), fun = change) codes_ <- data.frame(ID = grid_$code,value = paste0('from ',grid_[,1],' to ',grid_[,2])) logical_test <- which(grid_$change == T) # remove no change classes codes_ ...

Top 50 recent answers are included