create_set_spatial_buffer: Find sets of units that are separated by a minimum distance...

Description Usage Arguments Value

View source: R/create_set_spatial_buffer.R

Description

Find sets of units that are separated by a minimum distance (spatial buffer).

Usage

1
2
create_set_spatial_buffer(distance_matrix, threshold, sims = 1000,
  probability_weights = NULL, exclude_set = NULL, ...)

Arguments

distance_matrix

A distance matrix (see create_distance_matrix()).

threshold

The minimum distance one unit should be from another (expressed in same units as distance matrix)

sims

The number of iterations to run in order to find sets.

exclude_set

A list of vectors (can be created with find_proximate_units()), each element of the list corresponds to each unit, and contains a vector of all of the units to which that unit is proximate.

Value

A list of admissable sets of units that meet the spatial criterion.


jaspercooper/distancematrix documentation built on May 18, 2019, 5:55 p.m.