Learn R Programming

vein (version 1.1.3)

moves_rpdy_sf: MOVES estimation of using rates per distance by model year

Description

moves_rpdy_sf estimates running exhaust emissions using MOVES emission factors.

Usage

moves_rpdy_sf(
  veh,
  lkm,
  ef,
  speed_bin,
  profile,
  source_type_id = 21,
  vehicle = NULL,
  vehicle_type = NULL,
  fuel_subtype = NULL,
  path_all,
  verbose = FALSE
)

Value

a list with emissions at each street and data.base aggregated by categories. See link{emis_post}

Arguments

veh

"Vehicles" data-frame or list of "Vehicles" data-frame. Each data-frame as number of columns matching the age distribution of that ype of vehicle. The number of rows is equal to the number of streets link.

lkm

Length of each link in miles

ef

emission factors from EmissionRates_running exported from MOVES filtered by sourceTypeID and fuelTypeID.

speed_bin

Data.frame or vector of avgSpeedBinID as defined by MOVES.

profile

numeric vector of normalized traffic for the morning rush hour

source_type_id

Number to identify type of vehicle as defined by MOVES.

vehicle

Character, type of vehicle

vehicle_type

Character, subtype of vehicle

fuel_subtype

Character, subtype of vehicle

path_all

Character to export whole estimation. It is not recommended since it is usually too heavy.

verbose

Logical; To show more information. Not implemented yet

Examples

Run this code
{
data(decoder)
decoder
}

Run the code above in your browser using DataLab