figure_3_2 {eq5dsuite} | R Documentation |
Figure 3.2: Mean EQ-5D values and 95% confidence intervals: all vs by groupvar
Description
Figure 3.2: Mean EQ-5D values and 95% confidence intervals: all vs by groupvar
Usage
figure_3_2(df, names_eq5d = NULL, name_groupvar, eq5d_version = NULL, country)
Arguments
df |
Data frame with the EQ-5D and grouping columns |
names_eq5d |
Character vector of column names for the EQ-5D dimensions |
name_groupvar |
Character string for the grouping column |
eq5d_version |
Version of the EQ-5D instrument |
country |
A character string representing the name of the country. This could be in a 2-letter format, full name or short name, as specified in the country_codes datasets. |
Value
Summary plot and data used for plotting
Examples
tmp <- figure_3_2(
example_data,
names_eq5d = c("mo", "sc", "ua", "pd", "ad"),
name_groupvar = "procedure",
eq5d_version = "3L",
country = "UK"
)
tmp$p
tmp$plot_data
[Package eq5dsuite version 1.0.1 Index]