extract_tlfd: Extract trip length frequency distribution data

View source: R/tlfd.R

extract_tlfdR Documentation

Extract trip length frequency distribution data

Description

Extract trip length frequency distribution data

Usage

extract_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

Return a cumulative PDF?

years

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

index_year

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

max_bin

The maximum bin size to return.

Value

A data frame with the trip length frequency distribution by year and region.


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