smr_model | R Documentation |
Carries out risk-adjustment for HSMR data.
smr_model(smr01, base_start, base_end, index = "Q")
smr01 |
Input tibble for admissions, see details. |
base_start |
The beginning of the time period for data that is run through the logistic regression model. |
base_end |
The end of the time period for data that is run through the logistic regression model. |
index |
To define whether data produced are to be quarterly or annual. |
smr_model
expects a tibble
of data extracted from
SMR01 that has already been through smr_wrangling
and then
smr_pmorbs
. This is the third step of a four-step process. The
final step is smr_data
. smr_model
returns the SMR01
data with a probability of death within 30 days of admission appended on to
the file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.