View source: R/plot_ed_los_distribution_admission.R
plot_ed_los_distribution_admission | R Documentation |
plot_ed_los_distribution_admission
shows the distribution of length of
stay for people in the emergency department, stratified by whether they were
admitted to the hospital or discharged.
plot_ed_los_distribution_admission( data, startDate, endDate, returnPlot, hospitalName )
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 distribution of length of stay for patients in the emergency department.
## Not run: TBD ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.