figure_1_2_4 function

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

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

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

Returns

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
  • Maintainer: Kim Rand
  • License: GPL (>= 2)
  • Last published: 2024-05-21

Useful links