mkLookup: Create a lookup function to query locations against spatial...

mkLookupR Documentation

Create a lookup function to query locations against spatial masks

Description

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

Usage

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?

Value

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

Note

Very little error checking is done.

Author(s)

Michael D. Sumner

See Also

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

See over for more general capabilities for overlays.


mdsumner/tripEstimation documentation built on May 2, 2023, 12:49 p.m.