powered by
Generate dimension vectors based on state index
toEQ5Ddims(x, dim.names = c("mo", "sc", "ua", "pd", "ad"))
A data.frame with 5 columns, one for each EQ-5D dimension, with names from dim.names argument.
A vector of 5-digit EQ-5D state indexes.
A vector of dimension names to be used as names for output columns.
toEQ5Ddims(c(12345, 54321, 12321))
Run the code above in your browser using DataLab