Description Usage Arguments Details Value See Also
Get long items from an item-codebook and the results of an exploratory factor analysis (EFA) combined in one data frame.
1 2 | matchItems(efa.result, codebook, shortitem = "Namen", longitem = "Items",
digits = 3, cut = NULL)
|
efa.result |
A fitted EFA from |
codebook |
The codebook, in which both the |
shortitem |
The variable in the codebook containing the short names of the item, which were also used in the data frame for the |
longitem |
The variable in the codebook containing the full item (which was for example given to the participant in the study). |
digits |
The number of digits that should be displayed in the resulting data frame. |
cut |
The smalles loadings that should be displayed. If |
A common problem is the match of short item names, which are used in a data frame, to their rather long counterparts, i. e. the full item. This function allows matching full items (such as "I like to run an efa") with their short counterpart which was used in the data frame (such as "efa_like"). The matching is based on an item codebook.
A data frame with the shortitem
as rownames, in the first column the long items (from longitem
), and in the next columns the factors/components that were extracted during the EFA, witht heir factor loadings.
efa
to run an EFA, write.xlsx
to write the resulting data frame into a user friendly .xlsx format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.