Description Usage Arguments Author(s)
View source: R/miscellaneous.R
Filter a raster using a conditional expression and values in a conditional vector
1 | misc.parse.filter(data, expr, filter, byrow = TRUE)
|
data |
raster data |
expr |
logical expression to apply a a character string. Must have the argument "filter" and the form "filter < 3", "filter == 3" || filter< 4" |
filter |
vector with the values to use for filtering the data (included or excluded of the matrix). If a column or row of the data, filter is the value data[row, ], data[, col]. |
byrow |
filter the rows? default FALSE (filter the columns) |
Leandro Roser learoser@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.