Subfunction used by the upload pattern and barcode plot functions
This subfunction organizes the partially accruing data into a matrix that includes accrual lag as a variable.
Object of the
This should only be used on accrued data that are counts. No error will be thrown in the case of non-count data, but the results will not make sense.
A data frame with the columns consisting of event date (encounter date), record date (upload date), accrual lag (lag), counts (time series value), number added.
Julie Eaton and Ian Painter
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.