.add_EQ5D_utilities {valueSetCompare}R Documentation

.add_EQ5D_utilities

Description

This function calculates utilities for the provided EQ5D version and value sets.

Usage

.add_EQ5D_utilities(
  df,
  value_sets,
  version,
  dim.names = c("mo", "sc", "ua", "pd", "ad"),
  colnames = NULL
)

Arguments

df

A data frame to which the utilities will be added.

value_sets

A character vector specifying the country value sets for the given EQ5D version.

version

A character string specifying the EQ5D version. Valid versions are "5L", "3L", "XW", and "XWR".

dim.names

A vector of dimension names to identify dimension columns in the df data frame

colnames

(Optional) A character vector specifying the column names for the added utilities.

Value

The df data frame with the added utility columns.


[Package valueSetCompare version 1.0.0 Index]