constructRmsCor: Root mean square (RMS) of inter-construct correlations.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/calc.r

Description

The RMS is also known as 'quadratic mean' of the inter-construct correlations. The RMS serves as a simplification of the correlation table. It reflects the average relation of one construct to all other constructs. 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

1
constructRmsCor(x, method = "pearson", trim = NA)

Arguments

x

repgrid object

method

A character string indicating which correlation coefficient is to be computed. One of "pearson" (default), "kendall" or "spearman", can be abbreviated. The default is "pearson".

trim

The number of characters a construct is trimmed to (default is NA). If NA no trimming occurs. Trimming simply saves space when displaying correlation of constructs with long names.

Value

dataframe of the RMS of inter-construct correlations

Author(s)

Mark Heckmann

References

Fransella, F., Bell, R. C., & Bannister, D. (2003). A Manual for Repertory Grid Technique (2. Ed.). Chichester: John Wiley & Sons.

See Also

elementRmsCor, constructCor

Examples

1
2
3
4
5
6
7
8
9
   # data from grid manual by Fransella, Bell and Bannister
   constructRmsCor(fbb2003)    
   constructRmsCor(fbb2003, trim=20)
   
   # modify output
   r <- constructRmsCor(fbb2003) 
   print(r, digits=5)
   # access calculation results
   r[2, 1]

markheckmann/OpenRepGrid documentation built on April 30, 2021, 2:33 a.m.