plot_compare_count_by_spatialcat_barchart | R Documentation |
Takes two tibbles from read_output_trips to generate a bar chart comparing the number of trips across different spatial categories.
plot_compare_count_by_spatialcat_barchart(
trips_table1,
trips_table2,
shape_table,
crs
)
trips_table1 |
tibble of trips_output (from read_output_trips) |
trips_table2 |
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 |
Bar chart comparing the number of trips by spatial category.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.