lss | R Documentation |
Calculate the Levels Sum Score for a single or number of EQ-5D profiles
lss(scores, version, ignore.invalid, ...)
scores |
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. |
ignore.invalid |
whether to ignore invalid scores. TRUE returns NA, FALSE throws an error. |
... |
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.
lss(c(MO=1,SC=2,UA=3,PD=2,AD=1), version="3L")
lss(55555, version="5L")
lss(c(11111, 12345, 55555), version="5L")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.