Learn R Programming

lgcp (version 1.0)

gridInWindow: gridInWindow function...

Description

gridInWindow function

Usage

gridInWindow(xvals, yvals, win)

Arguments

xvals
x coordinates
yvals
y coordinates
win
owin object

Value

  • matrix of TRUE/FALSE, which elements of the grid are inside the observation window win

Details

For the grid defined by x-coordinates, xvals, and y-coordinates, yvals, and an owin object W, this function just returns a logical matrix M, whose [i,j] entry is TRUE if the point(xvals[i], yvals[j]) is inside the observation window.