Learn R Programming

eq5dsuite (version 1.0.1)

table_1_2_4: Table 1.2.4: Changes in levels in each dimension, percentages of total and of type of change

Description

Table 1.2.4: Changes in levels in each dimension, percentages of total and of type of change

Usage

table_1_2_4(df, name_id, names_eq5d = NULL, name_fu = NULL, levels_fu = NULL)

Value

Summary data frame

Arguments

df

Data frame with the EQ-5D, id and follow-up columns

name_id

Character string for the patient id 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.

Examples

Run this code
table_1_2_4(
  df = example_data,
  name_id = "id",
  names_eq5d = c("mo", "sc", "ua", "pd", "ad"),
  name_fu = "time",
  levels_fu = c("Pre-op" , "Post-op")
)

Run the code above in your browser using DataLab