Description Usage Format References Examples

A data set collected by Holzinger and Swineford (1939) which consists of the results of 24 psychological tests given to 145 seventh and eighth grade students in a Chicago suburb. This data set contains the correlation matrix for the 24 test results.

The data set was also used as an example for visualization of cluster analysis by Ling (1973).

1 | ```
data("Psych24")
``` |

A 24 x 24 correlation matrix.

Holzinger, K. L., Swineford, F. (1939):
A study in factor analysis: The stability of a bi-factor solution.
*Supplementary Educational Monograph,* No. **48**.
Chicago: University of Chicago Press.

Ling, R. L. (1973): A computer generated aid for cluster analysis.
*Communications of the ACM*,
**16**(6), pp. 355–361.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ```
data("Psych24")
## create a dist object and also get rid of the one negative entry in the
## correlation matrix
d <- as.dist(1 - abs(Psych24))
pimage(d)
## do hclust as in Ling (1973)
hc <- hclust(d, method = "complete")
plot(hc)
pimage(d, hc)
## use seriation
order <- seriate(d, method = "tsp")
#order <- seriate(d, method = "tsp", control = list(method = "concorde"))
pimage(d, order)
``` |

```
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.