get_dimensions_from_health_states {eq5d}R Documentation

Get individual dimension scores from their five digit health states

Description

Get a data.frame of individual dimension scores from their five digit health states.

Usage

get_dimensions_from_health_states(
  scores,
  ignore.invalid = TRUE,
  version = "5L"
)

Arguments

scores

a vector of five digit scores

ignore.invalid

whether to ignore invalid scores. TRUE returns NA, FALSE throws an error.

version

3L, 5L or Y. Used for validating scores when ignore.invalid is FALSE.

Value

A data.frame of individual dimension scores.

Examples

get_dimensions_from_health_states(c("12345", "54321"), version="5L")


[Package eq5d version 0.15.3 Index]