EmissionFactors returns a transformed object with class "EmissionFactors" and units g/km.

EmissionFactors(x, mass = "g", dist = "km", ...)

# S3 method for class 'EmissionFactors'
print(x, ...)

# S3 method for class 'EmissionFactors'
summary(object, ...)

# S3 method for class 'EmissionFactors'
plot(
  x,
  pal = "mpl_viridis",
  rev = TRUE,
  fig1 = c(0, 0.8, 0, 0.8),
  fig2 = c(0, 0.8, 0.55, 1),
  fig3 = c(0.7, 1, 0, 0.8),
  mai1 = c(0.2, 0.82, 0.82, 0.42),
  mai2 = c(1.3, 0.82, 0.82, 0.42),
  mai3 = c(0.7, 0.62, 0.82, 0.42),
  bias = 1.5,
  ...
)

Arguments

x

Object with class "data.frame", "matrix" or "numeric"

mass

Character to be the time units as numerator, default "g" for grams

dist

String indicating the units of the resulting distance in speed.

...

par arguments if needed

object

object with class "EmissionFactors'

pal

Palette of colors available or the number of the position

rev

Logical; to internally revert order of rgb color vectors.

fig1

par parameters for fig, par.

fig2

par parameters for fig, par.

fig3

par parameters for fig, par.

mai1

par parameters for mai, par.

mai2

par parameters for mai, par.

mai3

par parameters for mai, par.

bias

positive number. Higher values give more widely spaced colors at the high end.

Value

Objects of class "EmissionFactors" or "units"

Examples

if (FALSE) { # \dontrun{
#do not run
EmissionFactors(1)
} # }