faConfInt: Extract confidence bounds from psych's factor analysis object

Description Usage Arguments Details Value Author(s) Examples

View source: R/faConfInt.R

Description

This function contains some code from a function in psych that's not exported print.psych.fa.ci but useful nonetheless. It basically takes the outcomes of a factor analysis and extracted the confidence intervals.

Usage

1

Arguments

fa

The object produced by the fa function from the psych package. It is important that the n.iter argument of fa was set to a realistic number, because otherwise, no confidence intervals will be available.

Details

THis function extract confidence interval bounds and combines them with factor loadings using the code from the print.psych.fa.ci in psych.

Value

A list of dataframes, one for each extracted factor, with in each dataframe three variables:

lo

lower bound of the confidence interval

est

point estimate of the factor loading

hi

upper bound of the confidence interval

Author(s)

William Revelle (extracted by Gjalt-Jorn Peters)

Maintainer: Gjalt-Jorn Peters <gjalt-jorn@userfriendlyscience.com>

Examples

1
2
3
4
5
6
7
## Not run: 
### Not run because it takes too long to run to test it,
### and may produce warnings, both because of the bootstrapping
### required to generate the confidence intervals in fa
faConfInt(fa(Thurstone.33, 2, n.iter=100, n.obs=100));

## End(Not run)

userfriendlyscience documentation built on May 2, 2019, 1:09 p.m.