Description Usage Arguments Value See Also Examples
View source: R/extractscalesfromFA.R
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.
1 2 3 4 5 6 7 | fa.buildscale(
faobject,
ladungsunterschied = 0.1,
datensatz = NULL,
name = "scale",
fuerntratt = FALSE
)
|
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 |
either the itemnumbers per scale or objects of the scales themselves saved to the environment
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
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.