powered by
Function to check the EQ-5D-3L scores
check_scores_3L(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-3L self care, or NA if the responses are given as dimensions
response for EQ-5D-3L usual activities,or NA if the responses are given as dimensions
response for EQ-5D-3L pain/discomfort, or NA if the responses are given as dimensions
response for EQ-5D-3L anxiety/depression, or NA if the responses are given as dimensions
# NOT RUN { check_scores_3L(c(1, 2, 3, 3, 3)) check_scores_3L(1, 2, 3, 3, 3) check_scores_3L(1, 2, 3, 2, 3) check_scores_3L(12323) # }
Run the code above in your browser using DataLab