calc_SpatialIndex: Calculate spatial indices for points in 2D space

Description Usage Arguments Value Author(s)

View source: R/calc_SpatialIndex_function.R

Description

Function that returns spatial indices (plot numbers) for given coordinate pairs. E.g. for hectares res = 100 m

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
calc_SpatialIndex(
  xcor,
  ycor,
  res = 1,
  minx = NA,
  miny = NA,
  maxx = NA,
  maxy = NA,
  exclude.maxx = T
)

Arguments

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

Value

spatial index for the input point

Author(s)

Nikolai Knapp, nikolai.knapp@ufz.de


niknap/MeanShiftR documentation built on Dec. 20, 2020, 12:32 p.m.