Skip to contents

Plotting with healthyR

healthyR Plots

Time Series Plotting

ts_alos_plt()
Plot ALOS - Average Length of Stay
ts_median_excess_plt()
Create a plot showing the excess of the median value
ts_readmit_rate_plt()
Plot Readmit Rate
ts_plt()
Time Series Plot

Gartner Magic Chart

gartner_magic_chart_plt()
Gartner Magic Chart - Plotting of two continuous variables

Miscellaneous Plots

Other Plotting Functions

los_ra_index_plt()
Plot LOS and Readmit Index with Variance
diverging_lollipop_plt()
Diverging Lollipop Chart
diverging_bar_plt()
Diverging Bar Chart

Color Blindness

Functions to help with color blindness

color_blind()
Provide Colorblind Compliant Colors
hr_scale_fill_colorblind()
Provide Colorblind Compliant Colors
hr_scale_color_colorblind()
Provide Colorblind Compliant Colors

Augment Functions

Functions that Augment a tibble

service_line_augment()
Service Line Grouper Augment Function

Vectorized Functions

Functions that work on or return a vector

service_line_vec()
Service Line Grouper Vectorized Function

Optimal Bin Functions for Histograms

Optimal Binning Functions

Optimal Binning for histograms

opt_bin()
Get the optimal binwidth for a histogram

SQL String Functions

Manipulate Strings with SQL like Functions

SQL String Functions

sql_left()
Use SQL LEFT type function
sql_mid()
Use SQL MID type function
sql_right()
Use SQL RIGHT type functions

Table Functions

Functions that return tibbles

Table Functions

category_counts_tbl()
Counts by Category
los_ra_index_summary_tbl()
Make LOS and Readmit Index Summary Tibble
top_n_tbl()
Top N tibble
ts_census_los_daily_tbl()
Time Series - Census and LOS by Day
ts_signature_tbl()
Make a Time Enhanced Tibble

ML/AI Functions

Miscellaneous

Miscellaneous Functions and Utilities

Function List

save_to_excel()
Save a file to Excel
named_item_list()
Tibble to named list

Data Files

Data Files

Mapping Files

dx_cc_mapping
Diagnosis to Condition Code Mapping file
px_cc_mapping
Procedure to Condition Code Mapping file