Skip to contents

Takes two tibbles from read_output_trips to generate a bar chart comparing the number of trips across different spatial categories.

Usage

plot_compare_count_by_spatialcat_barchart(
  trips_table1,
  trips_table2,
  shape_table,
  crs
)

Arguments

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

Value

Bar chart comparing the number of trips by spatial category.