plot_tlfd: Plot a trip length frequency distribution

View source: R/tlfd.R

plot_tlfdR Documentation

Plot a trip length frequency distribution

Description

Plot a trip length frequency distribution

Usage

plot_tlfd(
  db,
  region_var = c("MPO", "COUNTY", "STATE"),
  regions = NULL,
  cumulative = FALSE,
  years = NULL,
  index_year = 2000
)

Arguments

db

The scenario database.

region_var

The region to aggregate to.

regions

The regions to return. If NULL, returns all.

cumulative

Plot cumulative instead of probability density distribution.

years

The years to show in the plot. If null, will show the first and last years.

index_year

[Optional] index year that should be used as the starting year for data or plots;

Value

A ggplot2 object.


pbsag/swimr documentation built on July 4, 2025, 12:10 p.m.