lfs {eq5d}R Documentation

Calculate the Level Freqeuncy Score for an EQ-5D profile

Description

Calculate the Levels Frequency Score for a single or number of EQ-5D profiles

Usage

lfs(scores, version, ignore.invalid, ...)

Arguments

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 "Y" 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".

Value

a data.frame or list of data.frames of counts/percentages. Columns contain dimensions names and rows the EQ-5D score.

Examples

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")


[Package eq5d version 0.15.3 Index]