Learn R Programming

flowcluster (version 0.2.1)

add_xyuv: Add Start/End Coordinates & Flow IDs

Description

Add Start/End Coordinates & Flow IDs

Usage

add_xyuv(x)

Value

tibble with x, y, u, v, flow_ID columns

Arguments

x

sf object of flows

Examples

Run this code
flows <- sf::st_transform(flows_leeds, 3857)
flows <- add_flow_length(flows)
flows <- add_xyuv(flows)

Run the code above in your browser using DataLab