Commit f2cad6d27210eb287665a7f7ac8afd957a0d2d29

Authored by Efrain Gonzalez
1 parent e83d7591ef
Exists in master

Update to dndat function

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
... ... @@ -169,7 +169,7 @@ dndat <- function(NDATA){
169 169 DDATA[i,j]=0L
170 170 } else if(NDATA[i,j] > 1){
171 171 DDATA[i,j]=2L
172   - } else if(-1 <= NDATA[i,j] && NDATA[i,j] < 1){
  172 + } else if(-1 <= NDATA[i,j] && NDATA[i,j] <= 1){
173 173 DDATA[i,j]=1L
174 174 }
175 175 } else{