Learn R Programming

vein (version 1.1.3)

moves_rpsy_sf: MOVES estimation of using rates per start by model year

Description

moves_rpsy_sf estimates running exhaust emissions using MOVES emission factors.

Usage

moves_rpsy_sf(
  veh,
  lkm,
  ef,
  profile,
  source_type_id = 21,
  vehicle = NULL,
  vehicle_type = NULL,
  fuel_subtype = NULL,
  net,
  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 type 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.

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

net

Road network class sf

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