figure_1_2_1 {eq5dsuite}R Documentation

Figure 1.2.1: Paretian Classification of Health Change

Description

Figure 1.2.1: Paretian Classification of Health Change

Usage

figure_1_2_1(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_1(df = example_data, name_fu = "surgtype", name_id = "id")
tmp$p
tmp$plot_data

[Package eq5dsuite version 1.0.0 Index]