Analyse the descriptive system of an EQ-5D dataset
Analyses the descriptive components of an EQ-5D dataset producing summary information either as counts or as percentages.
eq5dds(data, version, counts = FALSE, by = NULL, ...)
data |
data.frame with names MO, SC, UA, PD and AD representing Mobility, Self-care, Usual activities, Pain/discomfort and Anxiety/depression. |
version |
string of value "3L" or "5L" to indicate instrument version. |
counts |
logical show absolute counts in the summary table. Default is FALSE, which shows percentages for each EQ-5D dimension. |
by |
character specifying the column in the data.frame by which to group the results. |
... |
character vector, specifying "dimensions" column names. Defaults are "MO", "SC", "UA", "PD" and "AD". |
a data.frame or list of data.frames of counts/percentages. Columns contain dimensions names and rows the EQ-5D score.
dat <- data.frame( matrix( sample(1:3,5*12, replace=TRUE),12,5, dimnames=list(1:12,c("MO","SC","UA","PD","AD")) ), Sex=rep(c("Male", "Female")) ) eq5dds(dat, version="3L") eq5dds(dat, version="3L", counts=TRUE) eq5dds(dat, version="3L", by="Sex")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.