lfs | R Documentation |
Calculate the Levels Frequency Score for a single or number of EQ-5D profiles
lfs(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", "5L" or "Y3L" 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.
lfs(c(MO=1,SC=2,UA=3,PD=2,AD=1), version="3L")
lfs(55555, version="5L")
lfs(c(11111, 12345, 55555), version="5L")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.