scoring_iwqoll: Scoring the Impact of Weight on Quality of Life-Lite...

Description Usage Arguments Details Value References Examples

View source: R/iwqol.R

Description

The IWQOL is a self-report instrument specifically developed to assess the effect of obesity on quality-of-life. IWQOL-Lite is a short form containing 31 items. Scale scores are obtained by adding item scores, and the total score is obtained by adding scale scores. Higher scores indicate poorer quality of life. (Kolotin et al. 2001)

Usage

1
2
3
4
5
6
7
scoring_iwqoll(
  data,
  items = 1:31,
  keep = TRUE,
  nvalid = list(physical = 6, self = 4, sexual = 2, distress = 3, work = 2),
  digits = NULL
)

Arguments

data

a data.frame containing the IWQOL-Lite items orderd from 1 to 31. The data.frame may contain further variables.

items

A character vector with the IWQOL-Lite item names ordered from 1 to 31, or a numeric vector indicating the column numbers of the IWQOL-Lite items in data.

keep

Logical, whether to keep the single items and whether to return variables containing the number of non-missing items on each scale for each respondent. The default is TRUE.

nvalid

A named list indicating the number of non-missing items required for score calculations. The defaults are:

  • physical = 6 (Physical Function)

  • self = 4 (Self-esteem)

  • sexual = 2 (Sexual Life)

  • distress = 3 (Public Distress)

  • work = 2 (Work)

digits

Integer of length one: value to round to. No rounding by default.

Details

Value

The function returns 12 variables:

References

Kolotkin et al. 2001 (http://doi.wiley.com/10.1038/oby.2001.13)

Kolotkin et al. 2002 (https://doi.org/10.1023/a:1015081805439)

Examples

1
2
3
4
5
6
## Not run: 
library(dplyr)
items.iwqoll <- paste0("IWQOLL_", seq(1, 31, 1))
scoring_iwqoll(mydata, items = items.iwqoll)

## End(Not run)

nrkoehler/qscorer documentation built on April 5, 2020, 3:09 a.m.