cctscree {CCTpack} | R Documentation |
Generate a scree plot
Description
Creates a screeplot of the data, providing the first 8 factors and their magnitudes.
Usage
cctscree(data, polych = FALSE)
Arguments
data |
a 2-dimensional matrix or array, missing values should be input as NA. |
polych |
used for ordinal data only, if the polychoric correlations, rather than Pearson correlations, should be used |
Details
The scree plot is generated from the respondent by respondent correlation (Pearson) matrix.
Examples
data(hotcold)
cctscree(data = hotcold)
## With this example data, a scree plot with 2 substantial factors
## (suggesting two cultures) is produced.
[Package CCTpack version 1.5.2 Index]