Learn R Programming

EmissV (version 0.665.8.0)

totalEmission: Calculate total emissions

Description

Caculate the total emission with:

Emission(pollutant) = sum( Vehicles(n) * Km_day_use(n) * Emission_Factor(n,pollutant) )

where n is the type of the veicle

Usage

totalEmission(v, ef, pol, verbose = TRUE)

Value

Return a list with the daily total emission by interest area (cityes, states, countries, etc).

Arguments

v

dataframe with the vehicle data

ef

emission factor

pol

pollutant name in ef

verbose

display additional information

See Also

rasterSource, lineSource and emission

Examples

Run this code
veic <- vehicles(example = TRUE)

EmissionFactors <- emissionFactor(example = TRUE)

TOTAL <- totalEmission(veic,EmissionFactors,pol = c("CO","PM"))

Run the code above in your browser using DataLab