Learn R Programming

packDAMipd (version 1.1.0)

value_eq5d3L_IPD: Function to add EQ5D3L scores to IPD data

Description

Function to add EQ5D3L scores to IPD data

Usage

value_eq5d3L_IPD(ind_part_data, eq5d_nrcode)

Value

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

Arguments

ind_part_data

a dataframe

eq5d_nrcode

non response code for EQ5D3L, default is NA

Examples

Run this code
datafile <- system.file("extdata", "trial_data.csv", package = "packDAMipd")
trial_data <- load_trial_data(datafile)
value_eq5d5L_IPD(trial_data, NA)

Run the code above in your browser using DataLab