lagHistogram: Function to create a a summary histogram of completeness for each lag.
Description
Creates a column of histograms, the $i$th histogram showing the distribution of
completeness of data $i-1$ days after the encounter date.
Usage
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.
Value
Details
This function shows a complete summary of the completeness of the data by lag. The $i$th 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.