toEQ5Ddims function

toEQ5Ddims

toEQ5Ddims

Generate dimension vectors based on state index

toEQ5Ddims(x, dim.names = c("mo", "sc", "ua", "pd", "ad"))

Arguments

  • 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.

Returns

A data.frame with 5 columns, one for each EQ-5D dimension, with names from dim.names argument.

Examples

toEQ5Ddims(c(12345, 54321, 12321))
  • Maintainer: Kim Rand
  • License: GPL (>= 2)
  • Last published: 2024-05-21

Useful links