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

Description Usage Arguments Value Note Author(s) See Also

Description

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

Usage

1
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.


tripEstimation documentation built on May 2, 2019, 8:51 a.m.