value_3L: Function to value EQ-5D-3L columns to index values for any...

Description Usage Arguments Value

View source: R/eq5d.R

Description

Main function to value EQ-5D-5L descriptive system to 5L index values.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
value_3L(
  eq5dresponse_data,
  mo,
  sc,
  ua,
  pd,
  ad,
  country,
  method,
  groupby,
  agelimit
)

Arguments

eq5dresponse_data

the data containing eq5d responses

mo

column name for EQ-5D-3L mobility

sc

column name for response for EQ-5D-3L self care

ua

column name for response for EQ-5D-3L usual activities

pd

column name for response for EQ-5D-3L pain/discomfort

ad

column name for response for EQ-5D-3L anxiety/depression

country

country of interest, by default is UK, if groupby has to specify the country should be specified

method

Either "TTO" or "VAS"

groupby

male or female -grouping by gender, default NULL

agelimit

vector of ages to show upper and lower limits

Value

the descriptive statistics of index values, frequency table and the modified data where the last column will be the index values data<-data.frame(age=c(10,20),sex=c("M","F"),mo=c(1,2),sc=c(1,2),ua=c(3,4), pd=c(3,1),ad=c(3,1)) value_3L(data, "mo", "sc","ua", "pd", "ad","UK","TTO",NULL,c(10,70))


valueEQ5D documentation built on Oct. 6, 2021, 5:10 p.m.