Skip to contents

Plotting with healthyR

healthyR Plots

diverging_bar_plt()
Diverging Bar Chart
diverging_lollipop_plt()
Diverging Lollipop Chart
gartner_magic_chart_plt()
Gartner Magic Chart - Plotting of two continuous variables
los_ra_index_plt()
Plot LOS and Readmit Index with Variance
ts_alos_plt()
Plot ALOS - Average Length of Stay
ts_median_excess_plt()
Create a plot showing the excess of the median value
ts_plt()
Time Series Plot
ts_readmit_rate_plt()
Plot Readmit Rate

Color Blindness

Functions to help with color blindness

color_blind()
Provide Colorblind Compliant Colors
hr_scale_color_colorblind()
Provide Colorblind Compliant Colors
hr_scale_fill_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

Table Functions

Functions that return tibbles

category_counts_tbl()
Counts by Category
los_ra_index_summary_tbl()
Make LOS and Readmit Index Summary Tibble
named_item_list()
Tibble to named list
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

Miscellaneous

Miscellaneous Functions and Utilities

opt_bin()
Get the optimal binwidth for a histogram
save_to_excel()
Save a file to Excel
sql_left()
Use SQL LEFT type function
sql_mid()
Use SQL MID type function
sql_right()
Use SQL RIGHT type functions

Data Files

Data Files

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