get_dimensions_from_health_states: Get individual dimension scores from their five digit health...

View source: R/helpers.R

get_dimensions_from_health_statesR 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")


fragla/eq5d documentation built on April 29, 2024, 3:15 p.m.