Main function to value EQ-5D-5L descriptive system to 5L index values.
value_3L(
eq5dresponse_data,
mo,
sc,
ua,
pd,
ad,
country,
method,
groupby,
agelimit
)
the data containing eq5d responses
column name for EQ-5D-3L mobility
column name for response for EQ-5D-3L self care
column name for response for EQ-5D-3L usual activities
column name for response for EQ-5D-3L pain/discomfort
column name for response for EQ-5D-3L anxiety/depression
country of interest, by default is UK, if groupby has to specify the country should be specified
Either "TTO" or "VAS"
male or female -grouping by gender, default NULL
vector of ages to show upper and lower limits
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))