Function to create an array of time series across accrual lags using the running median
Creates an array of time series graphs–one for each accrual lag–and displays a running median and MAD-based bounds on each graph.
Object of the
An integer greater or equal to 1. If
A vector of nonnegative integers specifying which lagged time series will be plotted. If NULL, all lags are used.
Parameters to pass to
An array of graphs is produced, with the ith graph showing for each encounter date the cumulative counts received i-1 days after the encounter date, with the final graph showing the final counts. A running median and error bars are disiplayed by default. Error bars are calculated as \pm (2)(MAD) (median absolute deviations) from the running median, calculated using the same running window.
Julie Eaton and Ian Painter
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.