plot_ed_los_distribution_flow: Distribution of time spent in the emergency department by...

View source: R/plot_ed_los_distribution_flow.R

plot_ed_los_distribution_flowR Documentation

Distribution of time spent in the emergency department by flow grow

Description

plot_ed_los_distribution_flow gives a distribution of the length of stay in the emergency department for each of the 4 flow groups.

Usage

plot_ed_los_distribution_flow(
  data,
  startDate,
  endDate,
  returnPlot,
  hospitalName = "{hospital_name}"
)

Arguments

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.

Value

A plot (default) or a dataframe containign the information on the distribution of the length of stay in the emergency department.

Examples

## Not run: 
TBD

## End(Not run)

HorridTom/hospitalflow documentation built on June 14, 2022, noon