toEQ5Ddims: toEQ5Ddims

View source: R/EQ_functions.R

toEQ5DdimsR Documentation

toEQ5Ddims

Description

Generate dimension vectors based on state index

Usage

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.

Value

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

Examples

toEQ5Ddims(c(12345, 54321, 12321))

eq5dsuite documentation built on April 11, 2026, 5:06 p.m.