eq5d5l function

eq5d5l

eq5d5l

Get EQ-5D-5L index values from individual responses to the five dimensions of the EQ-5D-5L.

eq5d5l(x, country = NULL, dim.names = c("mo", "sc", "ua", "pd", "ad"))

Arguments

  • x: A vector of 5-digit EQ-5D-5L state indexes or a matrix/data.frame with columns corresponding to EQ-5D-5L state dimensions.
  • 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-5L dimensions. Default is c("mo", "sc", "ua", "pd", "ad").

Returns

A vector of EQ-5D-5L values or data.frame with one column for each value set requested.

Examples

eq5d5l(c(11111, 12321, 32423, 55555), 'IT') # Italy -5L value set eq5d5l(make_all_EQ_states('5L'), c('Japan', 'China')) # Japon and China -5L value sets
  • Maintainer: Kim Rand
  • License: GPL (>= 2)
  • Last published: 2024-05-21

Useful links