icc.de.mat | R Documentation |
This function computes pairwise double-entry intraclass correlations among all entries of a data frame. Correlations between the compared variables as well as correlations of the constructs with themselves are thereby excluded from the calculation (i.e., correlations between X and Y, correlation between X and X, and correlation between Y and Y).
icc.de.mat(data, use = "pairwise", digit)
data |
A data frame with participants in rows and variables in columns. |
use |
Optional character string specifying how to deal with missing values.
The input will be forwarded to the base |
digit |
Number of digits in the output. The default is 3. |
A matrix of double-entry intraclass correlations among the entered variables.
Christian Blötner, Michael Paul Grosz c.bloetner@gmail.com
Furr, R. M. (2010). The Double-Entry Intraclass Correlation as an Index of Profile Similarity: Meaning, Limitations, and Alternatives. Journal of Personality Assessment, 92(1), 1–15. https://doi.org/10.1080/00223890903379134
McCrae, R. R. (2008). A Note on Some Measures of Profile Agreement. Journal of Personality Assessment, 90(2), 105–109. https://doi.org/10.1080/00223890701845104
df <- data.frame(a = rnorm(100), b = rnorm(100), c = rnorm(100),
x = rnorm(100), y = rnorm(100), z = rnorm(100))
icc.de.mat(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.