map_5Lto3L {valueEQ5D} | R Documentation |
Function to map EQ-5D-5L scores to EQ-5D-3L index values as per the specific country and group by gender and age
Description
Function to map EQ-5D-5L scores to EQ-5D-3L index values
Usage
map_5Lto3L(
eq5dresponse_data,
mobility,
self_care,
usual_activities,
pain_discomfort,
anxiety,
country = "UK",
method = "CW",
groupby = NULL,
agelimit = NULL
)
Arguments
eq5dresponse_data |
the data containing eq5d5L responses |
mobility |
column name for EQ-5D-5L mobility |
self_care |
column name for response for EQ-5D-5L self care |
usual_activities |
column name for response for EQ-5D-5L usual activities |
pain_discomfort |
column name for response for EQ-5D-5L pain/discomfort |
anxiety |
column name for response for EQ-5D-5L anxiety/depression |
country |
country of interest, by default is UK, if groupby has to specify the country should be specified |
method |
CW cross walk |
groupby |
male or female -grouping by gender, default NULL |
agelimit |
vector of ages to show upper and lower limits |
Value
index value if success, negative values for failure
Examples
map_5Lto3L(data.frame(
mo = c(1), sc = c(4), ua = c(4), pd = c(3),
ad = c(3)
), "mo", "sc", "ua", "pd", "ad")
[Package valueEQ5D version 0.7.2 Index]