misc.parse.filter: Filter a raster using a conditional expression and values in...

Description Usage Arguments Author(s)

View source: R/miscellaneous.R

Description

Filter a raster using a conditional expression and values in a conditional vector

Usage

1
misc.parse.filter(data, expr, filter, byrow = TRUE)

Arguments

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)

Author(s)

Leandro Roser learoser@gmail.com


EcoGenetics documentation built on July 8, 2020, 5:46 p.m.