| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DataForecast.TimeSeries.Aggregate
Description
- computeTotal :: TimeSeries parts -> TimeSeries parts
- computeMean :: TimeSeries parts -> TimeSeries parts
Documentation
computeTotal :: TimeSeries parts -> TimeSeries parts Source #
Compute the total for each SummaryData in the TimeSeries.
This propogates totals bottom up from the raw leaf data to the
root and updating all SummaryData nodes along the way.
computeMean :: TimeSeries parts -> TimeSeries parts Source #
Compute the mean of the time series.
If there is any missing data in the timeseries then the mean is left as
Nothing.