View source: R/plot_ed_attendances_timeseries_flow.R
plot_ed_attendances_timeseries_flow | R Documentation |
plot_ed_attendances_timeseries_flow
shows weekly attendance of emergency
department by different flow groups.
plot_ed_attendances_timeseries_flow( data, startDate, endDate, timeUnit = "week", returnPlot = TRUE, hospitalName = "{hospital_name}", restrictPlotRange = TRUE )
data |
Hospital episode data. |
startDate |
The first date of the period for which the analysis will run. |
endDate |
The last date of the period for which the analysis will run. |
timeUnit |
TBD |
returnPlot |
Plots the graph if set to TRUE, returns a dataframe otherwise. |
hospitalName |
The name of the hospital for which the analysis is being done. |
restrictPlotRange |
A boolean indicating whether to zoom the plot to only
the range specified by |
A lineplot (default) or a dataframe showing the distribution of ED attendances for different 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.