Learn R Programming

tripEstimation (version 0.0-46)

mkLookup: 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)

Value

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

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?

Author

Michael D. Sumner

See Also

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

See over for more general capabilities for overlays.