Description Usage Arguments Value

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.

1 | ```
gridInWindow(xvals, yvals, win, inclusion = "touching")
``` |

`xvals` |
x coordinates |

`yvals` |
y coordinates |

`win` |
owin object |

`inclusion` |
criterion for cells being included into observation window. Either 'touching' or 'centroid'. The former includes all cells that touch the observation window, the latter includes all cells whose centroids are inside the observation window. |

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

lgcp documentation built on May 22, 2018, 5:05 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.