| value_5L | R Documentation | 
Function to value EQ-5D-5L descriptive system to index value.
value_5L( eq5dresponse_data, mo, sc, ua, pd, ad, country = "England", groupby = NULL, agelimit = NULL )
eq5dresponse_data | 
 the data containing eq5d responses  | 
mo | 
 column name for EQ-5D-5L mobility  | 
sc | 
 column name for response for EQ-5D-5L self care  | 
ua | 
 column name for response for EQ-5D-5L usual activities  | 
pd | 
 column name for response for EQ-5D-5L pain/discomfort  | 
ad | 
 column name for response for EQ-5D-5L anxiety/depression  | 
country | 
 country of interest, by default is England  | 
groupby | 
 male or female -grouping by gender, default NULL  | 
agelimit | 
 vector of ages to show upper and lower limits, default NULL  | 
index value if success, negative values for failure
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, 4), ad = c(3, 4)
)
value_5L(data, "mo", "sc", "ua", "pd", "ad", "England", NULL, c(10, 70))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.