cctscree: Generate a scree plot

Description Usage Arguments Details Examples

Description

Creates a screeplot of the data, providing the first 8 factors and their magnitudes.

Usage

1
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

1
2
3
4
data(hotcold)
cctscree(data = hotcold)
## With this example data, a scree plot with 2 substantial factors 
##               (suggesting two cultures) is produced. 

Example output

Loading required package: R2jags
Loading required package: rjags
Loading required package: coda
Linked to JAGS 4.3.0
Loaded modules: basemod,bugs

Attaching package: 'R2jags'

The following object is masked from 'package:coda':

    traceplot

Warning message:
no DISPLAY variable so Tk is not available 

 ...Binary (dichotomous) data detected

 ...23 respondents and 27 items

 ...Data has 14 missing values out of 621

 ...Producing Scree Plot, missing data handled by mode of respective columns

CCTpack documentation built on May 1, 2019, 7:45 p.m.