plot_map_trips_by_spatialcat | R Documentation |
Plot every spatial trip type (inside, outside, origin and destinating) on map
plot_map_trips_by_spatialcat(trips_table, shape_table, crs, optimized = FALSE)
trips_table |
tibble of trips_output (from read_output_trips) |
shape_table |
sf object(data frame with geometries), can be created using st_read(), is used to categorize the trips. |
crs |
numeric representation of the EPSG code or proj4string for the corresponding coordinate system of the trip coordinates, can be found in network file from output directory of MATSim simulation |
optimized |
boolean, by default FALSE and gives interactive plot using leaflet, if TRUE creates image with ggplot |
table |
tibble of output_trips (from read_output_trips()) |
plot that contains every trip with defined trip type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.