lss: Calculate the Level Sum Score for an EQ-5D profile

View source: R/eq5dlss.R

lssR Documentation

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

Description

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

Usage

lss(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" 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".

Value

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

Examples

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


fragla/eq5d documentation built on Nov. 27, 2024, 3:23 a.m.