table_3_3 {eq5dsuite} | R Documentation |
Table 3.3 EQ-5D values: by age and groupvar
Description
Table 3.3 EQ-5D values: by age and groupvar
Usage
table_3_3(
df,
names_eq5d = NULL,
name_fu = NULL,
levels_fu = NULL,
name_groupvar,
name_age,
eq5d_version = NULL,
country
)
Arguments
df |
Data frame with the EQ-5D, age, follow-up and grouping columns |
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. |
name_groupvar |
Character string for the grouping column |
name_age |
Character string for the age column |
eq5d_version |
Version of the EQ-5D instrument |
country |
A character string representing the name of the country. This could be in a 2-letter format, full name or short name, as specified in the country_codes datasets. |
Value
Summary data frame
Examples
table_3_3(df = example_data, name_age = "age", name_groupvar = "surgtype",
country = "USA")
[Package eq5dsuite version 1.0.0 Index]