Description Usage Arguments Author(s) See Also Examples
This function was developed to offer a function that roughly works similar to the SPSS RELIABILITY command.
1 2 3 4 | reliability(data,
items = NULL,
itemDiagnostics = FALSE,
digits = 2)
|
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. |
Gjalt-Jorn Peters
Maintainer: Gjalt-Jorn Peters <gjalt-jorn@userfriendlyscience.com>
scaleStructure
, the excellent psych
package
1 2 3 4 5 6 7 | ## Not run:
## (Not run to test because it takes a long time.)
data(testRetestSimData);
reliability(testRetestSimData[, 2:11], itemDiagnostics = TRUE);
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.