ED_day_hour_plot: ED_day_hour_plot

View source: R/ED_day_hour.R

ED_day_hour_plotR Documentation

ED_day_hour_plot

Description

ED_day_hour_plot

Usage

ED_day_hour_plot(
  startDay,
  endDay,
  df,
  hospital_name = "Hospital Name",
  plot_chart = T
)

Arguments

startDay

Date for which the analysis starts

endDay

Date for which analysis ends

df

Dataframe representing ED stays with start_ime and end_time specifying stay start and end of time in ED

hospital_name

Name of hospital for which the analysis is being done

plot_chat

Plots chart if set to TRUE, else returns dataframe of plot data

Value

A plot or dataframe with mean, Q1, Q3, max and min occupancy for each hour of the week


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