Learn R Programming

vein (version 1.1.3)

ef_local: Local Emissions factors

Description

ef_local process an data.frame delivered by the user, but adding similar funcionality and arguments as ef_cetesb, which are classification, filtering and projections

Usage

ef_local(
  p,
  veh,
  year = 2017,
  agemax = 40,
  ef,
  full = FALSE,
  project = "constant",
  verbose = TRUE
)

Value

A vector of Emission Factor or a data.frame

Arguments

p

Character; pollutant delivered by the user. the name of the column of the data.frame must be Pollutant.

veh

Character; Vehicle categories available in the data.frame provided by the user

year

Numeric; Filter the emission factor to start from a specific base year. If project is 'constant' values above 2017 and below 1980 will be repeated

agemax

Integer; age of oldest vehicles for that category

ef

data.frame, for local the emission factors. The names of the ef must be `Age` `Year` `Pollutant` and all the vehicle categories...

full

Logical; To return a data.frame instead or a vector adding Age, Year, Brazilian emissions standards and its euro equivalents.

project

Character showing the method for projecting emission factors in future. Currently the only value is "constant"

verbose

Logical; To show more information

Details

returns a vector or data.frame of Brazilian emission factors.

See Also

ef_cetesb

Examples

Run this code
if (FALSE) {
#do not run
}

Run the code above in your browser using DataLab