Check a single pt (x and y) against a large number of quadrats whose corners are given by the rows of coord, xlo, ylo, xhi, yhi.
It returns the fraction of quadrats which the point falls inside. This is exactly like are.ptsinside() but allows there to be many rectangles, defined by a dataframe coord.
1 | ispt.inside(pt, coord)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.