Merge multiple meter_df
objects together so that the values can be
compared. This often requires aggregation or resampling of the original
values.
reconcile(...)
... |
|
---|
library("units") x <- data.frame(time = seq.Date(as.Date("2013-1-1"), by = "+1 month", length.out = 12), value = set_units(rnorm(12), kW)) meter_df(x)#> time value #> 1 2013-01-01 2.06502490 kW #> 2 2013-02-01 -1.63098940 kW #> 3 2013-03-01 0.51242695 kW #> 4 2013-04-01 -1.86301149 kW #> 5 2013-05-01 -0.52201251 kW #> 6 2013-06-01 -0.05260191 kW #> 7 2013-07-01 0.54299634 kW #> 8 2013-08-01 -0.91407483 kW #> 9 2013-09-01 0.46815442 kW #> 10 2013-10-01 0.36295126 kW #> 11 2013-11-01 -1.30454355 kW #> 12 2013-12-01 0.73777632 kW