Make a heat_cal object
make_heatcal( reference_tbl = NULL, dataitem_tbl = NULL, site = NULL, date_boundaries = NULL, max_limit = NULL )
| reference_tbl | reference table produced from |
|---|---|
| dataitem_tbl | an extracted dataitem from |
| site | character string of hospital site to plot |
| date_boundaries | character vector of format YYYY-MM-DD (or something
that is parsable by |
| max_limit | the upper bound for determining colour scale. This is useful if you have extreme outliers to enable good constrast over the range of interest |
an object of class heat_cal. Returns `FALSE` if the site is not found in the data