View source: R/plot_ed_4hourperf_timeseries_flow.R
plot_ed_4hourperf_timeseries_flow | R Documentation |
plot_ed_4hourperf_timeseries_flow
returns daily 4 hour emergency access
performance in each of the 4 flow groups in the form of a plot or a dataframe.
plot_ed_4hourperf_timeseries_flow( data, startDate, endDate, timeUnit = "day", returnPlot, hospitalName = "{hospital_name}" )
data |
Hospital episode data. |
startDate |
A datetime, as a POSIXct, of the earliest attendance to be included in the analysis. |
endDate |
A datetime, as a POSIXct, of the latest attendance to be included in the analysis. |
timeUnit |
The unit of aggregation for 4 hour performance percentages
in the same format as |
returnPlot |
If TRUE returns a chart, otherwise returns a dataframe. |
hospitalName |
The hospital name for which the analysis is undertaken. |
A plot (default) or a dataframe showing 4 hour performance of the emergency department in each of the 4 flow groups.
## Not run: TBD ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.