dot-freqtab function

Helper function for frequency of levels by dimensions tables

Helper function for frequency of levels by dimensions tables

.freqtab( df, names_eq5d = NULL, name_fu = NULL, levels_fu = NULL, eq5d_version = NULL )

Arguments

  • df: Data frame with the EQ-5D and follow-up columns
  • names_eq5d: Character vector of column names for the EQ-5D dimensions
  • name_fu: Character string for the follow-up column. If NULL, no grouping is used, and the table reports for the total population.
  • 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.
  • eq5d_version: Version of the EQ-5D instrument

Returns

Summary data frame.

  • Maintainer: Kim Rand
  • License: GPL (>= 2)
  • Last published: 2024-05-21

Useful links