Function to create a a summary histogram of completeness for each lag.

Share:

Description

Creates a column of histograms, the ith histogram showing the distribution of completeness of data i-1 days after the encounter date.

Usage

1
lagHistogram(x, maxLagPlot=NULL, ...)

Arguments

x

Object of the accrued class containing data to be graphed.

maxLagPlot

Optional argument specifying the maximum accrual lag reprented in the plot.

...

Parameters to pass to plot.

Details

This function shows a complete summary of the completeness of the data by lag. The ith row of the column shows a histogram of the completion percent at i-1 days after the encounter date (so that the x-axis represents the completeness proportion in blocks of 0.1). Note that this function should only be used on count data.

Value

None.

Author(s)

Julie Eaton and Ian Painter

See Also

plot.summary.accrued displays the mean completion rate for each lag.

Examples

1
2
3
4
5