# Handling and Analysing EQ-5d Data

## Documentation for package ‘eq5dsuite’ version 2.0.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

eq5dsuite-package | eq5dsuite: Standardised Tools for EQ-5D Analysis
.add_utility | Add utility values to a data frame
.check_uniqueness | Check the uniqueness of groups This function takes a data frame 'df' and a vector of columns 'group_by', and checks whether the combinations of values in the columns specified by 'group_by' are unique. If the combinations are not unique, a warning message is printed.
.EQxwrprob | .EQxwrprob
.freqtab | Helper function for frequency of levels by dimensions tables
.gen_colours | Generate colours for PCHC figures
.getmode | Get the mode of a vector.
.get_lfs | Calculate the Level Frequency Score (LFS)
.get_names | Replace NULL names with default values
.modify_ggplot_theme | Modify ggplot2 theme
.pchc | Wrapper to determine Paretian Classification of Health Change
.pchctab | .pchctab: Changes in health according to the PCHC (Paretian Classification of Health Change)
.pchc_plot_by_dim | Wrapper to generate Paretian Classification of Health Change plot by dimension
.prep_eq5d | Data checking/preparation: EQ-5D variables
.prep_fu | Data checking/preparation: follow-up variable
.prep_vas | Data checking/preparation: VAS variable
.pstate3t5 | .pstate3t5
.pstate5t3 | .pstate5t3
.summary_cts_by_fu | Wrapper to summarise a continuous variable by follow-up (FU)
.summary_mean_ci | Wrapper to calculate summary mean with 95% confidence interval
.summary_table_2_1 | Wrapper for the repetitive code in function_table_2_1. Data frame summary
.summary_table_4_3 | Summary wrapper for Table 4.3
.summary_table_4_4 | Summary wrapper for Table 4.4
eq5d | eq5d
eq5d3l | eq5d3l
eq5d5l | eq5d5l
eq5dsuite | eq5dsuite: Standardised Tools for EQ-5D Analysis
eq5dy3l | eq5dy3l
eq5d_profile_better_dimensions_by_group_plot | eq5d_profile_better_dimensions_by_group_plot: Percentage of Respondents Who Improved in Each EQ-5D Dimension, by Group This function calculates how many respondents improved in each dimension between two time points and summarizes the results for each group. The, it prodcuces a dimension-focused chart illustrating improvement percentages by dimension.
eq5d_profile_change_summary | eq5d_profile_change_summary: Frequency of levels by dimensions, by follow-up
eq5d_profile_density_curve | eq5d_profile_density_curve: Generate a Health State Density Curve (HSDC) for EQ-5D Data
eq5d_profile_dimension_change_table | eq5d_profile_dimension_change_table: Changes in levels in each dimension, percentages of total and of type of change
eq5d_profile_health_profile_grid | eq5d_profile_health_profile_grid: Health Profile Grid (HPG) for Two Time Points
eq5d_profile_level_summary | eq5d_profile_level_summary: Frequency of levels by dimensions, cross-sectional
eq5d_profile_level_summary_by_group | eq5d_profile_level_summary_by_group: Frequency of levels by dimensions, separated by category
eq5d_profile_lfs_distribution | eq5d_profile_lfs_distribution: Distribution of the EQ-5D states by LFS (Level Frequency Score)
eq5d_profile_lfs_mean_utility | eq5d_profile_lfs_mean_utility: Number of observations in the LFS (Level Frequency Score) according to the EQ-5D values
eq5d_profile_lfs_utility_plot | eq5d_profile_lfs_utility_plot: EQ-5D values plotted against LFS
eq5d_profile_lfs_utility_summary | eq5d_profile_lfs_utility_summary: Summary statistics of EQ-5D values by LFS (Level Frequency Score)
eq5d_profile_lss_utility_plot | eq5d_profile_lss_utility_plot: EQ-5D values plotted against LSS
eq5d_profile_lss_utility_summary | eq5d_profile_lss_utility_summary: Summary statistics for the EQ-5D values by all the different LSSs (Level Sum Scores)
eq5d_profile_mixed_dimensions_by_group_plot | eq5d_profile_mixed_dimensions_by_group_plot: Percentage of Respondents Who Had a Mixed Change Overall, by Dimension Improved or Worsened, Grouped by Procedure (or Other Grouping)
eq5d_profile_pchc_by_group_plot | eq5d_profile_pchc_by_group_plot: Paretian Classification of Health Change (PCHC) by Group This function computes PCHC categories between two time points for each subject, stratifies them by a grouping variable, and produces a single bar chart with side-by-side bars showing the distribution of PCHC categories.
eq5d_profile_pchc_table | eq5d_profile_pchc_table: Changes in health according to the PCHC (Paretian Classification of Health Change)
eq5d_profile_pchc_with_no_problems_table | eq5d_profile_pchc_with_no_problems_table: Changes in health according to the PCHC, taking account of those with no problems
eq5d_profile_top_states | eq5d_profile_top_states: Prevalence of the 10 most frequently observed self-reported health states
eq5d_profile_worse_dimensions_by_group_plot | This function identifies respondents with a "Worsen" PCHC state (i.e., overall health state got worse between levels_fu[1] and levels_fu[2]), checks dimension-specific changes (e.g., mo_diff < 0), and summarizes by a grouping variable (e.g., procedure) and time points. It returns a data table and a ggplot object.
eq5d_utility_by_group_plot | eq5d_utility_by_group_plot: Mean EQ-5D values and 95% confidence intervals: all vs by groupvar
eq5d_utility_change_by_group_plot | eq5d_utility_change_by_group_plot: EQ-5D values: smoothed lines and confidence intervals by groupvar
eq5d_utility_distribution_plot | eq5d_utility_distribution_plot: EQ-5D values: smoothed lines and confidence intervals by groupvar
eq5d_utility_norms_comparison | eq5d_utility_norms_comparison:EQ-5D values: by age and groupvar
eq5d_utility_over_time_plot | eq5d_utility_over_time_plot: EQ-5D values by timepoints: mean values and 95% confidence intervals
eq5d_utility_summary | eq5d_utility_summary: EQ-5D values: by timepoints
eq5d_utility_summary_by_group | eq5d_utility_summary_by_group:EQ-5D values: by groupvar
eq5d_utility_vas_scatter_plot | eq5d_utility_vas_scatter_plot: EQ-5D values: smoothed lines and confidence intervals by groupvar
eq5d_vas_distribution_table | eq5d_vas_distribution_table: EQ VAS Scores frequency of mid-points
eq5d_vas_grouped_distribution_plot | eq5d_vas_grouped_distribution_plot: Mid-point EQ VAS scores
eq5d_vas_histogram | eq5d_vas_histogram: EQ VAS scores
eq5d_vas_summary | eq5d_vas_summary: EQ VAS Score by timepoints
eqvs_add | eqvs_add
eqvs_display | eqvs_display
eqvs_drop | eqvs_drop
eqvs_load | eqvs_load
eqxw | eqxw
eqxwr | eqxwr
eqxw_UK | eqxw_UK
example_data | example_data
make_all_EQ_indexes | make_all_EQ_indexes
make_all_EQ_states | make_all_EQ_states
make_dummies | EQ_dummies
run_app | Launch the eq5dsuite Shiny Application
toEQ5Ddims | toEQ5Ddims
toEQ5Dindex | Convert EQ-5D dimension scores to a five-digit profile index
update_value_sets | Update eq5dsuite value sets