plot_flow_diagram: plot_flow_diagram

View source: R/sankey_flow.R

plot_flow_diagramR Documentation

plot_flow_diagram

Description

plot_flow_diagram

Usage

plot_flow_diagram(
  moves_table,
  ward_level = F,
  start = NULL,
  end = NULL,
  selected_levels = NULL,
  remove_static_moves = F
)

Arguments

moves_table

table of patient episode moves within and outside the hospital

ward_level

boolean of whether the analysis is done ward by ward or by hospital category (e.g. Mecical, Surgical, Acute etc.)

start

the datetime from which the moves should be counted

end

the datetime from which the moves should stop being counted

selected_levels

a vector of strings stating the wards or categories that should be included in the analysis e.g. c("External Incoming", "Medical", "Surgical", "External Outgoing")

Value

spell table


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