Learn R Programming

lgcp (version 1.3-8)

touchingowin: touchingowin function

Description

A function to compute which cells are touching an owin or spatial polygons object

Usage

touchingowin(x, y, w)

Arguments

x
grid centroids in x-direction note this will be expanded into a GRID of (x,y) values in the function
y
grid centroids in y-direction note this will be expanded into a GRID of (x,y) values in the function
w
an owin or SpatialPolygons object

Value

  • vector of TRUE or FALSE according to whether the cell