stackedUploadData {accrued}R Documentation

Subfunction used by the upload pattern and barcode plot functions

Description

This subfunction organizes the partially accruing data into a matrix that includes accrual lag as a variable.

Usage

stackedUploadData(x)

Arguments

x

Object of the accrued class.

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.

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.

Author(s)

Julie Eaton and Ian Painter

See Also

data.accrued, uploadPattern, barcode


[Package accrued version 1.4.1 Index]