reliability

Reliability function similar to the SPSS RELIABILITY command

This function was developed to offer a function that roughly works similar to the SPSS RELIABILITY command.

Keywords
univar
Usage
reliability(data,
            items = NULL,
            itemDiagnostics = FALSE,
            digits = 2)
Arguments
data

The dataframe containing the variables (items, questions) of interest.

items

Optionally, the variables (items, questions) of interest. If omitted, all variables (items, questions) in the dataframe will be used.

itemDiagnostics

Whether to also display the item diagnostics (specifically, the corrected item-total correlation, mean and variance excluding each item, and the reliability coefficients excluding each item).

digits

The number of digits to use when displaying the results.

See Also

scaleStructure, the excellent psych package

Aliases
  • reliability
Examples
# NOT RUN {
## (Not run to test because it takes a long time.)

data(testRetestSimData);
reliability(testRetestSimData[, 2:11], itemDiagnostics = TRUE);
# }
Documentation reproduced from package userfriendlyscience, version 0.7.2, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.