mkLookup function

Create a lookup function to query locations against spatial masks

Create a lookup function to query locations against spatial masks

Simple pixel spacing is used to overlay point locations on a spatial grid, or a series of grids.

mkLookup(x, by.segment = TRUE)

Arguments

  • x: an xyz-list with matrix or array of masks
  • by.segment: logical - is the mask to be queried separately for each time step?

Returns

A function, with one argument - a matrix of points - that returns a logical vector indicating the overlay of each point against the masks.

Author(s)

Michael D. Sumner

Note

Very little error checking is done.

See Also

get.mask and related examples for creating and using masks.

See over for more general capabilities for overlays.

  • Maintainer: Michael D. Sumner
  • License: GPL-3
  • Last published: 2023-04-21