figure_1_2_4 {eq5dsuite}R Documentation

Figure 1.2.4: Percentage of respondents who had a mixed change by the dimensions in which they improved and worsened (%)

Description

Figure 1.2.4: Percentage of respondents who had a mixed change by the dimensions in which they improved and worsened (%)

Usage

figure_1_2_4(df, names_eq5d = NULL, name_fu = NULL, levels_fu = NULL, name_id)

Arguments

df

Data frame with the EQ-5D, follow-up and patient id columns

names_eq5d

Character vector of column names for the EQ-5D dimensions

name_fu

Character string for the follow-up column

levels_fu

Character vector containing the order of the values in the follow-up column. If NULL (default value), the levels will be ordered in the order of appearance in df.

name_id

Character string for the patient id column

Value

Summary plot and data used for plotting

Examples

tmp <- figure_1_2_4(df = example_data, name_fu = "year_range", name_id = "id")
tmp$p
tmp$plot_data

[Package eq5dsuite version 1.0.0 Index]