spearman_brown | R Documentation |
This function calculates the Spearman-Brown reliability for a two-item scale, which is the recommended measure for two-item scales (rather than Cronbach's alpha, which is used for longer scales.)
spearman_brown(data, items, name = "", SB_only = FALSE)
data |
A dataframe |
items |
Character vector of length 2, with names of the two items |
name |
Name of the scale, relevant only if data.frame is returned |
SB_only |
Logical, indicating whether to return only the reliability as a number or a dataframe that also includes the scale name and correlation. |
Either the Spearman-Brown coefficient as a single number, or a dataframe including the Pearson correlation coefficient and the scale name
https://www.r-bloggers.com/five-ways-to-calculate-internal-consistency/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.