Description Usage Arguments Value
Calculate the utility loss of each sequence, given the shortest path distance between each pair of locations.
1 | route_utility(sequences, distances, .keep_distances = FALSE)
|
sequences |
a tibble of sequences (with columns 's', 'l') |
distances |
a tibble of distances (with columns 'o', 'd', 'distance') |
.keep_distances |
keep calculated distances as columns |
tibble with extra column 'utility'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.