odc_to_sfc | R Documentation |
Convert origin-destination coordinates into geographic desire lines
odc_to_sfc(odc)
odc |
A matrix containing coordinates representing line start and end points |
(odc = od_coordinates(od_data_df, p = od::od_data_zones, sfnames = TRUE))
(l = odc_to_sfc(odc))
plot(l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.