elementRmsCor {OpenRepGrid} | R Documentation |
Root mean square (RMS) of inter-element correlations.
Description
The RMS is also known as 'quadratic mean' of the inter-element correlations. The RMS serves as a simplification of the correlation table. It reflects the average relation of one element with all other elements. Note that as the correlations are squared during its calculation, the RMS is not affected by the sign of the correlation (cf. Fransella, Bell & Bannister, 2003, p. 86).
Usage
elementRmsCor(x, rc = TRUE, method = "pearson", trim = NA)
Arguments
x |
|
rc |
Whether to use Cohen's rc which is invariant to construct reflection (see description above). It is used as the default. |
method |
A character string indicating which correlation coefficient
to be computed. One of |
trim |
The number of characters an element is trimmed to (default is
|
Details
Note that simple element correlations as a measure of similarity are flawed as they are not invariant to construct
reflection (Mackay, 1992; Bell, 2010). A correlation index invariant to construct reflection is Cohen's rc measure
(1969), which can be calculated using the argument rc=TRUE
which is the default option in this function.
Value
dataframe
of the RMS of inter-element correlations.
References
Fransella, F., Bell, R. C., & Bannister, D. (2003). A Manual for Repertory Grid Technique (2. Ed.). Chichester: John Wiley & Sons.
See Also
constructRmsCor()
, elementCor()
Examples
# data from grid manual by Fransella, Bell and Bannister
elementRmsCor(fbb2003)
elementRmsCor(fbb2003, trim = 10)
# modify output
r <- elementRmsCor(fbb2003)
print(r, digits = 5)
# access second row of calculation results
r[2, "RMS"]