.calculate_mean_transition | R Documentation |
This function calculates the mean transitions for EQ-5D health states based on the version specified.
.calculate_mean_transition(df, version, utilityColumn, stateColumn)
df |
Data frame containing the health state and utility data. |
version |
Character string specifying the EQ-5D version ("5L" or "3L"). |
utilityColumn |
Character string specifying the column name in 'df' containing utility values. |
stateColumn |
Character string specifying the column name in 'df' containing health state values. |
A data frame containing the following columns: - Columns for each transition (e.g., "MOb", "MOw", "SCb", "SCw", etc.) - 'baseline_HS': Baseline health state for each transition. - 'LSS': Level Sum Score for the baseline health state. - 'baseline_utility': Baseline utility value for each transition. - 'mean_transition': Mean of the transitions for each row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.