eq5d_profile_top_states: eq5d_profile_top_states: Prevalence of the 10 most frequently...

View source: R/eq5d_devlin.R

eq5d_profile_top_statesR Documentation

eq5d_profile_top_states: Prevalence of the 10 most frequently observed self-reported health states

Description

eq5d_profile_top_states: Prevalence of the 10 most frequently observed self-reported health states

Usage

eq5d_profile_top_states(df, names_eq5d = NULL, eq5d_version = NULL, n = 10)

Arguments

df

Data frame with the EQ-5D columns

names_eq5d

Character vector of column names for the EQ-5D dimensions

eq5d_version

Version of the EQ-5D instrument

n

Number of most frequently observed states to display (default 10)

Value

Summary data frame

Examples

eq5d_profile_top_states(
  df = example_data[example_data$time == "Pre-op",],
  names_eq5d = c("mo", "sc", "ua", "pd", "ad"),
  eq5d_version = "3L",
  n = 10
)

eq5dsuite documentation built on May 14, 2026, 5:07 p.m.