Get EQ-5D-Y3L index values from individual responses to the five dimensions of the EQ-5D-Y3L.
eq5dy3l(x, country =NULL, dim.names = c("mo","sc","ua","pd","ad"))
Arguments
x: A vector of 5-digit EQ-5D-Y3L state indexes or a matrix / data frame with columns for each dimension.
country: String vector indicating country names or ISO3166 Alpha 2 / 3 country codes.
dim.names: A character vector specifying the names of the EQ-5D-Y3L dimensions. Default is c("mo", "sc", "ua", "pd", "ad").
Returns
A vector of EQ-5D-Y3L values or data.frame with one column for each value set requested.
Examples
# Slovenia -Y3L value seteq5dy3l(x = c(11111,12321,33333), country ='SI')# Germany and Spain -Y3L value sets eq5dy3l(make_all_EQ_states('3L'), c('Germany','Spain'))