Description Usage Arguments Details Value Author(s) See Also
Process the work information and computes the effective power using one of the possible strategies.
1 | effective.power(work, baseline="both", FUN=median)
|
work |
a data frame containing work unit data
as produced by the |
baseline |
a character string indicating how to
compute the baseline power; see Details below.
Default is |
FUN |
the function used to aggregate the baseline values |
The effective power is computed by subtracting a baseline from the real power of the work unit.
The baseline can be computed in several different ways as indicated
by the baseline
argument:
uses both the sleep phases preceding and following the work unit.
uses the sleep phases preceding (i.e. on the left) the work unit.
uses the sleep phases following (i.e. on the right) the work unit.
uses an aggregated value computed from both the sleep phases preceding and following all the work units.
uses an aggregated value computed fromthe sleep phases preceding (i.e. on the left) all the work units.
uses an aggregated value computed from the sleep phases following (i.e. on the right) all the work units.
uses the global minimum value among the sleep phases either before or after all the work units.
does not use any baseline (i.e. uses 0 as baseline).
The aggregation of two or more power levels is computed using the
function specified as argument FUN
The function returns a data frame that consists in the original
data frame work
with a column P
containing
the computed effective power values. If such a column already
exists in the data frame it is overwritten.
Marco Torchiano http://softeng.polito.it/torchiano/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.