PAF: Principal Axis Factoring for election machine answers

Description Usage Arguments Value

Description

Takes the answers in the election machine, and completes Principal Axis Factoring (PAF) for them. Returns factor scores, correlations, the determinant, KMO score and factor loadings.

Usage

1
paf <- PAF(data, 3, FALSE, cols=names(select(data,q1:q30)))

Arguments

data

The data set to be used.

nfactors

How many factors to use in the analysis.

vss

Should a VSS analysis be run to analyze the amount of factors?

cols

List of column names that include the data to be analysed.

Value

A list that includes the factor original data augmented with scores, correlations, determinant of the correlation matrix, KMO score, and factor loadings. See fa for more information.


tjpajala/vaalikone documentation built on May 26, 2019, 9:34 a.m.