Learn R Programming

packDAMipd (version 1.1.0)

map_eq5d5Lto3L_VanHout: Function to map EQ5D5L scores to EQ5D3L scores and then add to IPD data

Description

Function to map EQ5D5L scores to EQ5D3L scores and then add to IPD data

Usage

map_eq5d5Lto3L_VanHout(ind_part_data, eq5d_nrcode)

Value

qaly included modified data, if success -1, if failure

Arguments

ind_part_data

a data frame

eq5d_nrcode

non response code for EQ5D5L, default is NA

Examples

Run this code
# \donttest{
library(valueEQ5D)
datafile <- system.file("extdata", "trial_data.csv",
package = "packDAMipd")
trial_data <- load_trial_data(datafile)
map_eq5d5Lto3L_VanHout(trial_data, NA)
# }

Run the code above in your browser using DataLab