fa.buildscale: Extract scales from an EFA object

Description Usage Arguments Value See Also Examples

View source: R/extractscalesfromFA.R

Description

given the pattern maxtrix of an EFA with more than one factor, combine items loading on one particular factor to a scale and save it in an object. Items with unclear loading pattern (i.e. non trivial loadings on more than one factor) can be either evaluated using a loading difference to the next highest loading (parameter loadingdifference) or using the Fürntratt criterion. If an item fails to meet the selected criterion it will not be included in the scale.

Usage

1
2
3
4
5
6
7
fa.buildscale(
  faobject,
  ladungsunterschied = 0.1,
  datensatz = NULL,
  name = "scale",
  fuerntratt = FALSE
)

Arguments

faobject

saved fa object

ladungsunterschied

should loadings be assigned to a factor by loading difference

datensatz

data.frame containing the items

name

Name the objects to be saved

fuerntratt

should loading be assigned to factor according to Fuerntratt

Value

either the itemnumbers per scale or objects of the scales themselves saved to the environment

See Also

fa

Examples

1
2
3
4
5
if(!require(psych)) {
efa <- fa(pers_data[-c(6,11,16)],nfactors = 3)
fa.buildscale(efa) # all 3 scales are correctly extracted, no items is discarded
fa.buildscale(efa,datensatz=pers_data[-c(6,11,16)]) # this saves scales to workspace
}

lillion/emittr documentation built on May 10, 2020, 7:23 a.m.