edgeExclude: Find individuals inside a buffer zone away from the plot edge

View source: R/edgeExclude.R

edgeExcludeR Documentation

Find individuals inside a buffer zone away from the plot edge

Description

Find individuals inside a buffer zone away from the plot edge

Usage

edgeExclude(x, buffer, xmin, xmax, ymin, ymax)

Arguments

x

two column matrix of individual x and y coordinates

buffer

size of buffer zone inside plot, same scale as coordinates xmin, xmax, ymin, ymax

xmin

minimum x coordinate in plot

xmax

maximum x coordinate in plot

ymin

minimum y coordinate in plot

ymax

maximum y coordinate in plot

Details

Generally, the buffer size should be the same size as the expected competition zone radius around each tree, to ensure that the value of a given competition index isn't under-estimated for trees near the plot edge, due to a lack of data collected outside the plot. For example, if the competition radius set by nearNeighb is 5 m, the buffer should also be 5 m. Trees within the buffer zone are generally excluded as focal trees in competition indices, but may still be used as competitor trees by other focal trees not inside the buffer zone.

Value

vector of rows from x which are not within the buffer zone.

Examples

data(bicuar)
edgeExclude(bicuar[,c("x", "y")], 5, 0, 100, 0, 100)


johngodlee/compInd documentation built on Aug. 5, 2024, 8:44 a.m.