Desagregates a time-series
This function disaggregates pilled-up data. Agregation points are denoted by the scalar following one or more asterisks. The job of this function is to distribute the mass accumulated in the first non asterisk measurment between the previous points marked with asterisks.
Say a time-series is of weekly frequency and is
1 2 3 4 5
The task is to distribute 83.2 between Wen and Sat of week k+1 using the sampled distribution of Wen, Thu, Fri and Sat of all available weeks. Sometime this is not possible and in this case all days get the equal mass distribution.
Returns a disaggregated
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.