% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/output_trips.R
\name{plot_map_trips_by_spatialcat}
\alias{plot_map_trips_by_spatialcat}
\title{Plot every spatial trip type (inside, outside, origin and destinating) on map}
\usage{
plot_map_trips_by_spatialcat(trips_table, shape_table, crs, optimized = FALSE)
}
\arguments{
\item{trips_table}{tibble of trips_output (from \link{read_output_trips})}

\item{shape_table}{sf object(data frame with geometries), can be created using st_read(), is used to categorize the trips.}

\item{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}

\item{optimized}{boolean, by default FALSE and gives interactive plot using leaflet, if TRUE creates image with ggplot}

\item{table}{tibble of output_trips (from read_output_trips())}
}
\value{
plot that contains every trip with defined trip type
}
\description{
Plot every spatial trip type (inside, outside, origin and destinating) on map
}
