avvikelse | R Documentation |
Calculates number of patients, preoperative values, postoperative values, and devation for each hospital. Used to make some tables in the annual report.
avvikelse(prom_dat, out, preop = NULL, postop, decimals = 2)
prom_dat |
PROM-data frame. |
out |
Linear model outcome variable. Use string. |
preop |
Preoperative variable. Use string. |
postop |
Postoperative variable. Use string. |
decimals |
Number of decimals. |
The following variables MUST be included in the data set to be able to use the function (used to calculate deviation):
"PREP_HipPain", "PREP_VASHealth", "PREP_EQ5D3Lindex", "eq10", "eq20", "eq30", "eq40", "eq50" "P_DiaGrp", "P_Gender", "P_Age", "PREP_Charnley"
where "eq10", "eq20", "eq30", "eq40" and "eq50" are the five numbers
extracted using eq5d_3l
.
Data frame including hospitals, number of patients, preoperative values (if preop not NULL), postoperative values, and devation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.