{
CO <- ef_cetesb(p = "CO", veh = "PC_FG", full = TRUE)
lef <- ef_ldv_scaled(dfcol = CO$CO,
v = "PC",
t = "4S",
cc = "<=1400",
f = "G",
eu = CO$EqEuro_PC,
p = "CO")
length(lef)
ages <- c(1, 10, 20, 30, 40)
EmissionFactors(do.call("cbind",
lapply(ages, function(i) {
data.frame(i = lef[[i]](1:100))
}))) -> df
names(df) <- ages
colplot(df)
}
Run the code above in your browser using DataLab