scoring_fsozuk7: Scoring the Social Support Questionnaire, short form...

Description Usage Arguments Details Value References Examples

View source: R/fsozu.R

Description

The F-SozU-K-7 is a 7-item scale designed to measure perceived social support. Items are Likert-scaled (1 to 5). A total mean score ranging from 1 to 5 may be calculated.

Usage

1
scoring_fsozuk7(data, items = 1:7, keep = TRUE, nvalid = 6, digits = NULL)

Arguments

data

a data.frame containing the F-SozU-K-7 items orderd from 1 to 7

items

A character vector with the F-SozU-K-7 item names ordered from 1 to 7, or a numeric vector indicating the column numbers of the F-SozU-K-7 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 numeric value indicating the number of non-missing items required for score calculations. The default is 6.

digits

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

Details

Value

The function returns 2 variables:

References

Sommer, Fydrich (1991) [Development and validation of a questionnaire on social support]. Diagnostica 37 (2): 160–178

Examples

1
2
3
4
5
6
## Not run: 
library(dplyr)
items.fsozu <- paste0("FSOZU_", seq(1, 7, 1))
scoring_fsozuk7(mydata, items = items.fsozu)

## End(Not run)

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