locations.inside {geoR}R Documentation

select prediction locations inside borders

Description

Selects the prediction locations located inside a polygon defining borders of a region where prediction is aimed. Typically internally called by krige.bayes, krige.conv, ksline.

Usage

locations.inside(locations, borders)

Arguments

locations a two columns matrix or dqata frame with coordinates of the prediction locations.
borders a two column matrix or data-frame with coordinates of a polygon defining the borders of the region.

Value

A two columns matrix with coordinates of points inside the borders.


[Package Contents]