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

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

`x` |
Object of the |

`maxLagPlot` |
Optional argument specifying the maximum accrual lag reprented in the plot. |

`...` |
Parameters to pass to |

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.

None.

Julie Eaton and Ian Painter

`plot.summary.accrued`

displays the mean completion rate for each lag.

1 2 3 4 5 | ```
library(grid)
data(accruedDataExample)
dat <- data.accrued(accruedDataExample)
lagHistogram(dat, maxLagPlot=7)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.