powered by
Function to map EQ-5D-5L descriptive system to 3L index value (ref:Van Hout et al 2012 and code inspired from https://github.com/brechtdv/eq5d-mapping)
map_5Lto3L_Ind( country = "UK", method = "CW", dimen, dimen2 = NA, dimen3 = NA, dimen4 = NA, dimen5 = NA )
default is "UK"
CW cross walk
response for EQ-5D-5L 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 dimen
response for EQ-5D-5L usual activities,or NA if the responses are given as dimen
response for EQ-5D-5L pain/discomfort, or NA if the responses are given as dimen
response for EQ-5D-5L anxiety/depression, or NA if the responses are given as dimen
index value of EQ-5D-3L, -1 if any error
# NOT RUN { map_5Lto3L_Ind("UK", "CW", 11125) map_5Lto3L_Ind("UK", "CW", c(1, 1, 1, 2, 5)) map_5Lto3L_Ind("UK", "CW", 1, 1, 1, 2, 5) # }
Run the code above in your browser using DataLab