View source: R/plot_ed_occupancy_hour_of_week.R
plot_ed_occupancy_hour_of_week | R Documentation |
plot_ed_occupancy_hour_of_week
shows average occupancy in an emergency
department throughout weekdays (Mon-Sun).
plot_ed_occupancy_hour_of_week( 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 average emergency department occupancy by weekday and hour.
## Not run: TBD ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.