Learn R Programming

eq5dsuite (version 1.0.0)

toEQ5Ddims: toEQ5Ddims

Description

Generate dimension vectors based on state index

Usage

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

Value

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

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.

Examples

Run this code
toEQ5Ddims(c(12345, 54321, 12321))

Run the code above in your browser using DataLab