.get_EQ5D_version {valueSetCompare}R Documentation

.get_EQ5D_version

Description

This function determines the version of EQ5D used based on the provided stateColumn of a data frame.

Usage

.get_EQ5D_version(df, stateColumn)

Arguments

df

A data frame containing EQ5D health states.

stateColumn

A character string specifying the name of the column in the df data frame that contains the EQ5D health states.

Value

A character string indicating the version of EQ5D used. Valid return values are "3L" for EQ5D-3L, "5L" for EQ5D-5L, or NULL if the version cannot be determined.


[Package valueSetCompare version 1.0.0 Index]