View source: R/neighborsPointPattern.R
edgeData | R Documentation |
Adjust border effect using a torus correction connecting vertical and horizontal borders for a continuous spaces
edgeData(
x,
y,
xlim = c(0, 1),
ylim = c(0, 1),
rMax = min(c(xlim[2], ylim[2]))/4
)
x , y |
Numeric vectors with 'x' and 'y' coordinates in a cartesian space. They must have the same length. |
xlim , ylim |
Numeric vectors with two values defining the 'x' and 'y' axis limit in the cartesian plane. |
rMax |
Maximum distance for neighbors spatial statistics. |
'edgeData' returns a list with tree positions: 'edgeData' data with border torus correction coordinates ‘originalData' original data ’x' and 'y' coordinates ‘pointsVF' logical vector with the same length of ’edgeData' indicating the 'TRUE' data coordinates and 'FALSE' border adjustment coordinates.
Alexandre Adalardo de Oliveira ecovirtualpackage@gmail.com
Baddeley, A.; Rubak, E; Turner, R. 2016. Spatial Point Patterns: Methodology and Applications with R. CRC Press. Wiegand, T. & Moloney, K.A. 2014. Handbook of Spatial Point-Pattern Analysis in Ecology. CRC Press.
## Not run:
edgeData(x = runif(10, 0, 1), y= runif(10, 0, 1), xlim = c(0,1), ylim = c(0,1), rMax = 0.25)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.