View source: R/plot_readmissions_timeseries.R
plot_readmissions_timeseries | R Documentation |
plot_readmissions_timeseries
shows readmission percentage over period
of time. Indicates violation of Schewart rules as well.
plot_readmissions_timeseries( data, startDate, endDate, readmissionBy, returnPlot = TRUE, hospitalName = "{hospital_name}" )
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. |
readmissionBy |
Integer indicating readmission timeframe. |
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. |
A lineplot (default) or a dataframe showing the proportion of readmissions over provided period of time.
## Not run: TBD ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.