Skip to contents

This function takes a TADA dataset and creates a distance matrix for all sites in the dataset. It then uses the buffer input value to determine which sites are within the buffer and should be identified as part of a nearby site group.

Usage

TADA_FindNearbySites(.data, dist_buffer = 100)

Arguments

.data

TADA dataframe OR TADA sites dataframe

dist_buffer

Numeric. The maximum distance (in meters) two sites can be from one another to be considered "nearby" and grouped together.

Value

Input dataframe with a TADA.NearbySiteGroups column that indicates the nearby site groups each monitoring location belongs to.