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
ef_local(
p,
veh,
year = 2017,
agemax = 40,
ef,
full = FALSE,
project = "constant",
verbose = TRUE
)
Character; pollutant delivered by the user. the name of the column of the data.frame must be Pollutant.
Character; Vehicle categories available in the data.frame provided by the user
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
Integer; age of oldest vehicles for that category
data.frame, for local the emission factors. The names of the ef must be `Age` `Year` `Pollutant` and all the vehicle categories...
Logical; To return a data.frame instead or a vector adding Age, Year, Brazilian emissions standards and its euro equivalents.
Character showing the method for projecting emission factors in future. Currently the only value is "constant"
Logical; To show more information
A vector of Emission Factor or a data.frame
returns a vector or data.frame of Brazilian emission factors.
The names of the ef must be `Age` `Year` `Pollutant` and all the vehicle categories...
if (FALSE) { # \dontrun{
#do not run
} # }