powered by
Function to check the EQ-5D-5L scores
check_scores_5L(dimen, dimen2 = NA, dimen3 = NA, dimen4 = NA, dimen5 = NA)
a must input,response for EQ-5D-3L mobility or the 5 digit response, or the vector of responses, e.g. 11111, c(1,1,1,1,1) or 1
response for EQ-5D-5L self care, or NA if the responses are given as dimensions
response for EQ-5D-5L usual activities,or NA if the responses are given as dimensions
response for EQ-5D-5L pain/discomfort, or NA if the responses are given as dimensions
response for EQ-5D-5L anxiety/depression, or NA if the responses are given as dimensions
# NOT RUN { check_scores_5L(c(1, 2, 3, 5, 3)) check_scores_5L(1, 2, 3, 4, 3) check_scores_5L(12323) # }
Run the code above in your browser using DataLab