Description Usage Arguments Value See Also Examples
match returns a Raster* object with the position of the matched values. The cell values are the index of the table argument. 
%in% returns a logical Raster* object indicating if the cells values were matched or not.
| 1 2 3 | match(x, table, nomatch = NA_integer_, incomparables = NULL)
x %in% table
 | 
| x | Raster* object | 
| table | vector of the values to be matched against | 
| nomatch | the value to be returned in the case when no match is found. Note that it is coerced to integer | 
| incomparables | a vector of values that cannot be matched. Any value in x matching a value in this vector is assigned the nomatch value. For historical reasons, FALSE is equivalent to NULL | 
Raster* obeject
| 1 2 3 4 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.