Learn R Programming

vein (version 1.1.3)

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

Description

moves_rpsy_meta estimates running exhaust emissions using MOVES emission factors.

Usage

moves_rpsy_meta(
  metadata,
  lkm,
  ef,
  fuel_type,
  profile,
  agemax = 31,
  net,
  simplify = TRUE,
  verbose = FALSE,
  colk,
  colkt = F
)

Value

a list with emissions at each street and data.base aggregated by categories.

Arguments

metadata

data.frame with the metadata for a vein project for MOVES.

lkm

Length of each link in miles

ef

emission factors from EmissionRates_running exported from MOVES

fuel_type

Data.frame of fuelSubtypeID exported by MOVES.

profile

Data.frame or Matrix with nrows equal to 24 and ncol 7 day of the week

agemax

Integer; max age for the fleet, assuming the same for all vehicles.

net

Road network class sf

simplify

Logical, to return the whole object or processed by streets and veh

verbose

Logical; To show more information. Not implemented yet

colk

Character identifying a column in 'metadata' to multiply the emission factor

colkt

Logical, TRUE if `colk` is used

Examples

Run this code
{
data(decoder)
decoder
}

Run the code above in your browser using DataLab