iccdemat: Computation of Double-Entry Intraclass Correlations for...

icc.de.matR Documentation

Computation of Double-Entry Intraclass Correlations for correlation matrices

Description

This function computes pairwise double-entry intraclass correlations among all entries of a symmetric correlation matrix. Correlations between the compared variables as well as correlations of the constructs with themselves are thereby excluded (i.e., correlations between X and Y, correlation between X and X, and between correlation between Y and Y).

Usage

icc.de.mat(dat)

Arguments

dat

A symmetric c x c correlation matrix. It can be easily computed with the basic R function 'cor()'. Assymetric matrices with different numbers of columns and rows are not supported.

Value

iccde

Double-Entry Intraclass Correlation

Author(s)

Christian Blötner, Michael Paul Grosz c.bloetner@gmail.com

References

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

Examples

## Not run: 

df <- data.frame(a = rnorm(100), b = rnorm(100), c = rnorm(100),
                 x = rnorm(100), y = rnorm(100), z = rnorm(100))
dat <- cor(df)
icc.de.mat(dat)

## End(Not run)

iccde documentation built on Feb. 16, 2023, 9:28 p.m.

Related to iccdemat in iccde...