Description Usage Arguments Details Value Note Author(s) References See Also Examples
Functions associated with Speed/Emissions terms.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #calculations
fitSpeedEm(em, time, speed, engine.on = NULL,
data = NULL, method = 1, min.speed = 5,
bin.size = NULL, ...,
fun.name="fitEmSpeed")
#speed/emissions Plots
speedEmPlot(speed, em = NULL, time = NULL,
..., data = NULL, engine.on = NULL,
min.speed = 5, bin.size = NULL,
plot.type = 1, method = 1,
fun.name="speedEmPlot",
scheme = pems.scheme)
|
em, time, speed |
(Typically pems.element vectors) |
engine.on |
(Optimal, single Numeric) The time the emission source, e.g.
monitored vehicle engine, was started. If not supplied, this
is assumed to be start of the supplied |
data |
(Optional, typically |
method |
(Optinal, Numeric) The method to use when calculating
and binning data: method |
min.speed |
(Optinal, Numeric) measurements when speeds were less than
this value are exluded, default value |
bin.size |
(Optinal, Numeric) The data binning scale to use. For
|
... |
(Optional) Other arguments, currently passed on as supplied to assoicated calculation or plotting function. |
fun.name |
(Optional character) The name of the parent function, to be used in error messaging. |
plot.type |
(Optional numeric) For |
scheme |
(Various) For |
fitSpeedEm
builds a speed and g/km emissions
data sets for the supplied emissions, speed and
time-series data.
speedEmPlot
generates a plot of one or more
data set generated by fitSpeedEm
.
fitSpeedEm
generates a speed/emissions contribution
report as a pems
dataset.
speedEmPlot
generates a speed/emissions contribution
report as a lattice
plot.
Regarding engine.on
: This is specifically the time
the engine is turned on rather than the row of data set
where this happens. In some cases, they are same, e.g. when
the data is logged at a regular 1-Hz and data capture is
complete.
Regarding method
: Method 1 [Doc further].
[Doc further]
(See References.)
Karl Ropkins
fitColdStart
uses methods described in:
[COPERT on speed/emission terms]
[Ropkins speed/emissions]
See common.calculations
(and
checkUnits
and
convertUnits
) for details of data management.
1 2 3 4 5 6 7 | ###########
##example 1
###########
#basic usage
#to do/maybe not run... time to compile...
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.