View source: R/calc_spatial_index_function.R
calc_spatial_index | R Documentation |
Function that returns spatial indices (plot numbers) for given coordinate pairs. E.g. for hectares res = 100 m
calc_spatial_index(
xcor,
ycor,
res = 1,
minx = NA,
miny = NA,
maxx = NA,
maxy = NA,
exclude.maxx = T
)
xcor |
X-coordinate of the point |
ycor |
Y-coordinate of the point |
res |
side length of one spatial subunit |
minx |
minimum X-coordinate |
miny |
minimum Y-coordinate |
maxx |
maximum X-coordinate |
maxy |
maximum Y-coordinate |
exclude.maxx |
boolean to set whether the given maxx should be excluded or included in the indexing |
spatial index for the input point
Nikolai Knapp
in progress
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.