View source: R/distance_matrix_utils.R
filter_by_length | R Documentation |
Filter Flows by Length
filter_by_length(x, length_min = 0, length_max = Inf)
x |
sf object with length_m |
length_min |
minimum length (default 0) |
length_max |
maximum length (default Inf) |
filtered sf object. Flows with length_m outside the specified range are removed.
flows <- sf::st_transform(flows_leeds, 3857)
flows <- add_flow_length(flows)
flows <- filter_by_length(flows, length_min = 5000, length_max = 12000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.