toEQ5Ddims
Generate dimension vectors based on state index
toEQ5Ddims(x, dim.names = c("mo", "sc", "ua", "pd", "ad"))
x
: A vector of 5-digit EQ-5D state indexes.dim.names
: A vector of dimension names to be used as names for output columns.A data.frame with 5 columns, one for each EQ-5D dimension, with names from dim.names argument.
toEQ5Ddims(c(12345, 54321, 12321))
Useful links