table_1_2_3 function

Table 1.2.3: Changes in health according to the PCHC, taking account of those with no problems

Table 1.2.3: Changes in health according to the PCHC, taking account of those with no problems

table_1_2_3( df, name_id, name_groupvar, names_eq5d = NULL, name_fu = NULL, levels_fu = NULL )

Arguments

  • df: Data frame with the EQ-5D, grouping, id and follow-up columns
  • name_id: Character string for the patient id column
  • name_groupvar: Character string for the grouping column
  • names_eq5d: Character vector of column names for the EQ-5D dimensions
  • name_fu: Character string for the follow-up column
  • 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.

Returns

Summary data frame

Examples

table_1_2_3(df = example_data, name_groupvar = "surgtype", name_id = "id")
  • Maintainer: Kim Rand
  • License: GPL (>= 2)
  • Last published: 2024-05-21

Useful links