View source: R/calculate_total_or_average_distances.R
Calculate the total or average distance between all units for each set in a sample_selection object
1 2 | calculate_total_or_average_distances(sample_selection_object, distance_matrix,
total = TRUE)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.