View source: R/plot_average_ed_los_hour_of_day.R
plot_average_ed_los_hour_of_day | R Documentation |
plot_average_ed_los_hour_of_day
allows to visualize the average length
of stay in the emergency department over 24 hour period (0-24h). Patients are
grouped into 4 batches with respect to the flow group they belong to.
plot_average_ed_los_hour_of_day( data, startDate, endDate, returnPlot = TRUE, hospitalName = "Hospital name" )
data |
Hospital episode data. |
startDate |
Date of earliest discharge to be included in the analysis. |
endDate |
Date of latest admission to be included in the analysis. |
returnPlot |
If TRUE returns a plot, otherwise returns a dataframe. |
hospitalName |
Name of the hospital. |
A plot (default) or a dataframe showing the average length of stay in the emergency department of different patient 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.