calculate_total_or_average_distances: Calculate the total or average distance between all units for...

Description Usage Arguments

View source: R/calculate_total_or_average_distances.R

Description

Calculate the total or average distance between all units for each set in a sample_selection object

Usage

1
2
calculate_total_or_average_distances(sample_selection_object, distance_matrix,
  total = TRUE)

Arguments

sample_selection_object

A list of admissable samples, created by a create_set() function (create_set_spatial_buffer() etc.)

distance_matrix

A distance matrix, see function create_distance_matrix()

total

If total = TRUE, the total distance between all units is returned, if total=FALSE, the average distance between all units is returned


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