View source: R/totalEmission.R
totalEmission | R Documentation |
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
totalEmission(v, ef, pol, verbose = TRUE)
v |
dataframe with the vehicle data |
ef |
emission factor |
pol |
pollutant name in ef |
verbose |
display additional information |
Return a list with the daily total emission by interest area (cityes, states, countries, etc).
the units (set_units("value",unit) where the recomended unit is g/d) must be used to make the ef data.frame
rasterSource
, lineSource
and emission
veic <- vehicles(example = TRUE)
EmissionFactors <- emissionFactor(example = TRUE)
TOTAL <- totalEmission(veic,EmissionFactors,pol = c("CO","PM"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.