stackedUploadData: Subfunction used by the upload pattern and barcode plot functions
Description
This subfunction organizes the accrued data into a matrix that includes accrual lag as a variable.
Usage
stackedUploadData(x)
Arguments
x
Object of the accrued class.
Value
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.
Details
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.